Search found 144 matches

by Tapsa
Wed Jun 20, 2012 5:40 pm
Forum: C++ Development
Topic: wxFileConfig reading problem
Replies: 4
Views: 1440

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", wxEmptySt...
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: 682

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: 682

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: 3591

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: 3591

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 "wx/msw/wx.rc" i...
by Tapsa
Mon Dec 19, 2011 9:08 pm
Forum: C++ Development
Topic: wxTextCtrl Incorrect Focus
Replies: 2
Views: 1027

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: 1027

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: 560

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" #include "wx/hyperlink.h" #include...
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: 560

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...