Search found 426 matches

by xaviou
Tue Sep 04, 2018 6:33 pm
Forum: C++ Development
Topic: Can we get handle to wxDialog from its ID?
Replies: 2
Views: 61

Re: Can we get handle to wxDialog from its ID?

Hi.

Did you try wxWindow::FindWindowById ?
It should work.

Regards
Xav'
by xaviou
Mon Aug 20, 2018 12:35 pm
Forum: General Development
Topic: Why there is no compiled WxWidgets version?
Replies: 19
Views: 1316

Re: Why there is no compiled WxWidgets version?

Hi Posibly i am just to stupied, but i have extracted the content of the lib folder of "wxWidgets-3.0.4-gcc510TDM-x64-32bits-Static-Monolibs.7z" to the lib folder of "wxWidgets-3.0.4". However when I try to start a wxwidgets project in CodeBlocks I am geting an error mesage: http...
by xaviou
Thu Jul 26, 2018 11:58 am
Forum: wxCode
Topic: Does wxCharts not support mingw?
Replies: 3
Views: 188

Re: Does wxCharts not support mingw?

Hi. Here is how you can solve this. In your command line window, define the 2 following variables (don't forget to adapt to your installation) : set WXWIN=C:\wx30 set WXCFG=gcc_lib\mswu In the "GNUmakefile" add the following line (I've put it at line 48): WXCONFIG=$(shell wx-config.exe --c...
by xaviou
Mon Jul 23, 2018 3:47 pm
Forum: wxCode
Topic: Does wxCharts not support mingw?
Replies: 3
Views: 188

Re: Does wxCharts not support mingw?

Hi.

For a Windows version of wx-config, you can have a look here.

Regards
Xav'
by xaviou
Mon Jun 18, 2018 6:44 pm
Forum: Compiler / Linking / IDE Related
Topic: Generating executables on Ubuntu 18.04 [SOLVED]
Replies: 15
Views: 1500

Re: Generating executables on Ubuntu 18.04 [SOLVED]

Hi.

I had the same problem when I've switched to Debian 9 some months ago.

It seems related to this problem

I've solved it adding -no-pie to the link process.

Command line sample :

Code: Select all

g++ -o TestExe -no-pie main.cpp


Regards
Xav'
by xaviou
Wed May 30, 2018 11:57 am
Forum: Compiler / Linking / IDE Related
Topic: Build wxFreeChart and using it in Code::Blocks [SOLVED]
Replies: 23
Views: 820

Re: Build wxFreeChart and using it in Code::Blocks [SOLVED]

Hi But I got error nmake is not recognized. so I change it to mingw32-make -fmakefile.gcc but I still get errors: This is the right thing. But the others command line options must match the ones you've used to build your version of wxWidgets. Did you build your libs or did you download them ? Regard...
by xaviou
Wed Mar 28, 2018 12:15 pm
Forum: C++ Development
Topic: wxListBox::FindString issue
Replies: 1
Views: 114

Re: wxListBox::FindString issue

Hi I gues it returns the very first item with that label You're right. how to get the other items with that lebel? You'll have to make the search yourself : int iCount = myListBox->GetCount(); for (int i=0; i<iCount; ++i) { if (myListBox->GetString(i) == _T("Searched string")) { // Do what...
by xaviou
Sat Mar 24, 2018 1:15 pm
Forum: Platform Related Issues
Topic: Dot changed to a comma
Replies: 11
Views: 523

Re: Dot changed to a comma

PB wrote:
xaviou wrote:A Quick trick is a call to setlocale(LC_NUMERIC, "C") witch will force decimals to use the point.


I thought mixing wxLocale and C locale functions was to be avoided?

It is.
But it works :) And if he doesn't use wxLocale there shouldn't be any problem.

Regards
Xav'
by xaviou
Sat Mar 24, 2018 9:37 am
Forum: Platform Related Issues
Topic: Dot changed to a comma
Replies: 11
Views: 523

Re: Dot changed to a comma

Hi.

A Quick trick is a call to setlocale(LC_NUMERIC, "C") witch will force decimals to use the point.

Regards
Xav'
by xaviou
Mon Mar 12, 2018 6:09 pm
Forum: Compiler / Linking / IDE Related
Topic: MinGW-TDM 7.2.0
Replies: 6
Views: 536

Re: MinGW-TDM 7.2.0

Hi

As I am the one who provides the binaries for WinGW, I confirm that it is MinGW-7.2.0 :

Regards
Xav'
by xaviou
Sun Mar 11, 2018 9:34 am
Forum: Compiler / Linking / IDE Related
Topic: shlwapi.lib + version.lib not found
Replies: 13
Views: 1638

Re: shlwapi.lib + version.lib not found

Only I won't understand why when using wxWidgets 3.0.4 everything worked by default, when using wxWidgets 3.1.1 it is necessary to set references in addition. Probably matter in the software. I used CodeLite and CodeBlocks. wxWidgets 3.1.1 has more features than 3.0.4 witch justify the need of thes...
by xaviou
Sat Mar 10, 2018 10:25 pm
Forum: C++ Development
Topic: wxTextCtrl password entry with show&hide password option
Replies: 8
Views: 474

Re: wxTextCtrl password entry with show&hide password option

Under which license can we look at your work? There is no particular license : you can do what you want with it. It's here to help... It may be easier to recreate a text ctrl at every toggle event, having the same size, position, value, parent [, position in sizer], and maybe also use Freeze()/Thaw...
by xaviou
Sat Mar 10, 2018 9:13 pm
Forum: Compiler / Linking / IDE Related
Topic: shlwapi.lib + version.lib not found
Replies: 13
Views: 1638

Re: shlwapi.lib + version.lib not found

This time, the missing lib is "oleacc" (liboleacc.a). When you have undefined references concerning Windows APi functions, just make a google search on it and you'll get a MSDn result. In this case (https://msdn.microsoft.com/en-us/library/windows/desktop/dd318027.aspx), just go to the end...
by xaviou
Sat Mar 10, 2018 5:41 pm
Forum: C++ Development
Topic: wxTextCtrl password entry with show&hide password option
Replies: 8
Views: 474

Re: wxTextCtrl password entry with show&hide password option

Hi It may be easier to recreate a text ctrl at every toggle event, having the same size, position, value, parent [, position in sizer], and maybe also use Freeze()/Thaw() on its parent when switching the 2 controls. If you need an example, just have a look at this : this is exactly what I am doing. ...
by xaviou
Sat Mar 10, 2018 9:18 am
Forum: Compiler / Linking / IDE Related
Topic: shlwapi.lib + version.lib not found
Replies: 13
Views: 1638

Re: shlwapi.lib + version.lib not found

Hi

Regarding your first post, the errors you have doesn't come from a "shlwapi" or "version" libs files, but from the "uxtheme" one.

So just adding "-luxtheme" to the link command should resolve your problem.

Regards
Xav'

Go to advanced search