Search found 147 matches

by Tapsa
Thu Sep 06, 2012 1:05 pm
Forum: Compiler / Linking / IDE Related
Topic: CMake not finding wxWidgets 2.9.4
Replies: 2
Views: 4561

CMake not finding wxWidgets 2.9.4

So I recently decided to again test the latest development version of wxWidgets. I have the latest stable MinGW and CMake installed, but for some reason I get this error: CMake Error at C:/Program Files (x86)/CMake 2.8/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:97 (MESSAGE): Could N...
by Tapsa
Wed Jun 20, 2012 6:32 pm
Forum: C++ Development
Topic: wxFileConfig reading problem
Replies: 4
Views: 2013

Re: wxFileConfig reading problem

Thanks :D that's the obvious error. It's fixed now.
by Tapsa
Wed Jun 20, 2012 6:10 pm
Forum: C++ Development
Topic: wxFileConfig reading problem
Replies: 4
Views: 2013

Re: wxFileConfig reading problem

Yes, it's not the problem. The data from config thing gets to where I want it. But it does not want to read it from the file and instead uses the default values I have set. Are there some obvious errors I am not seeing?
by Tapsa
Wed Jun 20, 2012 5:40 pm
Forum: C++ Development
Topic: wxFileConfig reading problem
Replies: 4
Views: 2013

wxFileConfig reading problem

Any ideas why my wxFileConfig works on writing but not on reading? It uses the default values. Elsewhere I have a working code which is technically the same, but the reading works. void AGE_Frame::OnUnitsExtract(wxCommandEvent& Event) { ExtractUnit = new wxFileConfig("AdvancedGenieEditor&qu...
by Tapsa
Fri Jan 06, 2012 11:51 am
Forum: C++ Development
Topic: Doing something if kill focused and command text updated?
Replies: 2
Views: 951

Re: Doing something if kill focused and command text updated

Thanks for the reply anyway. I figured I could use wxEVT_COMMAND_TEXT_ENTER. It's actually better than what I planned.
by Tapsa
Fri Jan 06, 2012 10:30 am
Forum: C++ Development
Topic: Doing something if kill focused and command text updated?
Replies: 2
Views: 951

Doing something if kill focused and command text updated?

Is there a way I can make a function happen only if the text is updated in certain text control, and its focus is lost?

I could make a workaround using global string variable, but does wxWidgets support mixing command events with focus events somehow?
by Tapsa
Tue Dec 20, 2011 9:18 am
Forum: Platform Related Issues
Topic: Program Icon In Explorer
Replies: 4
Views: 4090

Re: Program Icon In Explorer

Thanks, it works now.
by Tapsa
Mon Dec 19, 2011 10:13 pm
Forum: Platform Related Issues
Topic: Program Icon In Explorer
Replies: 4
Views: 4090

Program Icon In Explorer

I haven't been able to set an icon for my application to show up in explorer. Could someone tell me what's wrong with this? /* Resources.h */ #ifndef Resources_h #define Resources_h #define iconAppIcon 0 #define USE_wxICONS 0 #endif /* Resources.rc */ #include "Resources.h" #include "...
by Tapsa
Mon Dec 19, 2011 9:08 pm
Forum: C++ Development
Topic: wxTextCtrl Incorrect Focus
Replies: 2
Views: 1358

Re: wxTextCtrl Incorrect Focus

Do you mean in TextCtrl_Short::OnKillFocus in my case?
HUGE thanks! It works now!
by Tapsa
Mon Dec 19, 2011 7:54 pm
Forum: C++ Development
Topic: wxTextCtrl Incorrect Focus
Replies: 2
Views: 1358

wxTextCtrl Incorrect Focus

The following customized wxTextCtrl did work with wxWidgets 2.8.12 but not with 2.9.3. I need it for checking wxTextCtrl values. Whenever I click on some customized wxTextCtrl then click somewhere else, I can't click back to once clicked customized wxTextCtrl. The focus stays where it was before re-...
by Tapsa
Tue Dec 06, 2011 8:11 pm
Forum: C++ Development
Topic: Executable size doubled from 2.8.12 to 2.9.2
Replies: 2
Views: 865

Re: Executable size doubled from 2.8.12 to 2.9.2

I believe the file size increase is due to wxWidgets core libraries doubled file size. I always strip and upx my executable when releasing. All the included files I have in all of my source files: #include "wx/busyinfo.h" #include "wx/filename.h" #include "wx/wx.h" #inc...
by Tapsa
Tue Dec 06, 2011 6:02 pm
Forum: C++ Development
Topic: Executable size doubled from 2.8.12 to 2.9.2
Replies: 2
Views: 865

Executable size doubled from 2.8.12 to 2.9.2

Upon upgrading to the new 2.9.2 version, massive amounts of problems hit my face. The most important thing is the file size. What causes the file size to get doubled compared to 2.8.12 version? I compiled wxWidgets with these settings: mingw32-make -f makefile.gcc MONOLITHIC=0 SHARED=0 UNICODE=1 BUI...