I build wxwidgets 2.9.2 on Windows 7 32bit with visual studio 2010.
I turned on unicode and static lib.
My program config is also unicode charset.
Search found 63 matches
- Sun Jan 15, 2012 10:21 am
- Forum: C++ Development
- Topic: How to prevent gui flash after closing a dialog window?
- Replies: 3
- Views: 902
- Sat Jan 14, 2012 3:26 am
- Forum: C++ Development
- Topic: How to prevent gui flash after closing a dialog window?
- Replies: 3
- Views: 902
How to prevent gui flash after closing a dialog window?
Hi,
On my program, all the mdi child windows flashes after I close a popup option window. But for the "About ..." menu, I use a wxMessageDialog, I found the mdi childs don't flash if I close the message dialog.
What shall I do to prevent the mdi childs from the unwilling flash?
Regards,
-Bruce
On my program, all the mdi child windows flashes after I close a popup option window. But for the "About ..." menu, I use a wxMessageDialog, I found the mdi childs don't flash if I close the message dialog.
What shall I do to prevent the mdi childs from the unwilling flash?
Regards,
-Bruce
- Tue Dec 13, 2011 5:04 am
- Forum: C++ Development
- Topic: Bugs with wxSpinCtrlDouble & wxRadioButton
- Replies: 2
- Views: 1290
Re: Bugs with wxSpinCtrlDouble & wxRadioButton
On my 32 bits windows 7 and windows XP, wxWidgets 2.9.2. The problems exists.
I try to find a time to build a minimum version, but these days I am a little busy.
Thanks
-Bruce
I try to find a time to build a minimum version, but these days I am a little busy.
Thanks
-Bruce
- Thu Dec 08, 2011 3:41 am
- Forum: C++ Development
- Topic: Bugs with wxSpinCtrlDouble & wxRadioButton
- Replies: 2
- Views: 1290
Bugs with wxSpinCtrlDouble & wxRadioButton
Hi, all, I think there are two bugs in wxWidgets. The first one is about wxSpinCtrlDouble: The reproduce procedure is as follow: 1. Make a MDIChild and put a wxSpinCtrlDouble and a button to enable/disable it. 2. New the MDIChild and at this time wxSpinCtrlDouble works fine. 3. Hide the MDIChild and...
- Wed Dec 07, 2011 5:53 am
- Forum: C++ Development
- Topic: wxSpinCtrlDouble can't get focus after hide
- Replies: 1
- Views: 730
Re: wxSpinCtrlDouble can't get focus after hide
I debug the spinctrlg.cpp on MSW and found the reason. The method to modify it is quite simple: bool wxSpinCtrlGenericBase::Show(bool show) { if ( !wxControl::Show(show) ) return false; // Add the following line to fix the problem wxControl::Enable(false); // don't use non virtual Disable() here! //...
- Wed Dec 07, 2011 2:32 am
- Forum: C++ Development
- Topic: wxSpinCtrlDouble can't get focus after hide
- Replies: 1
- Views: 730
wxSpinCtrlDouble can't get focus after hide
Hi all, I have a wxSpinCtrlDouble ctrl on the panel. The user controls the hide/show state of the panel. There is a wxSpinCtrlDouble for input price. But when the user hide the panel and show it again, the wxSpinCtrlDouble could never work again. User can neither change the value directly or use the...
- Wed Nov 23, 2011 7:36 am
- Forum: C++ Development
- Topic: Please help with toggle state image of wxAuiToolBarItem?
- Replies: 0
- Views: 692
Please help with toggle state image of wxAuiToolBarItem?
Hi, I want to add a toggle state wxAuiToolBarItem on the wxAuiToolBar. I set two wxBitmap images for enable/disable states in order to display different images. I use the following codes: tmAuiToolBar:: DrawGui(void) { AddSpacer(30); AddTool(TM_AUXBAR_TOGGLE_ALL_SPREAD, GetSquireImage(wxGREEN_BRUSH)...
- Fri Oct 28, 2011 6:55 am
- Forum: C++ Development
- Topic: Questions about GUI thread
- Replies: 1
- Views: 658
Questions about GUI thread
Hi, all, I am not quite sure about the gui thread structure. If I create a application using wxMDIParentFrame/wxMDIChildFrame. There will my several kinds of child window and the user may create a lot of child windows on the frame, each child frame has button/controls to interact with user. 1. My fi...
- Fri Oct 07, 2011 2:14 am
- Forum: C++ Development
- Topic: Questions about wxFormatStringSpecifierNonPodType<IsEnum>
- Replies: 2
- Views: 1361
Re: Questions about wxFormatStringSpecifierNonPodType<IsEnum
Thanks a lot, it really wxString::Format caused the problem.
Thanks a lot.
And to make my life easier, I'd better try the unicode version:-)
Thanks a lot.
And to make my life easier, I'd better try the unicode version:-)
- Wed Oct 05, 2011 2:55 pm
- Forum: C++ Development
- Topic: Questions about wxFormatStringSpecifierNonPodType<IsEnum>
- Replies: 2
- Views: 1361
Questions about wxFormatStringSpecifierNonPodType<IsEnum>
Hi, all, I am migrating wxWidgets from 2.8.10 to 2.9.2, I uet wxUSE_UNICODE==0 (It's hard to migrate the legacy code from ANSI to UNICODE), but I got a compile error from wxFormatStringSpecifierNonPodType as follows (Now it is the only error left). Is anyone met the same problem before and how to de...
- Mon Oct 03, 2011 2:49 am
- Forum: C++ Development
- Topic: Please help with GUI crash problem?
- Replies: 7
- Views: 2485
Re: Please help with GUI crash problem?
Thanks a lot, I will first do the queue thread and then check the wxString usage. I think I should recompile wxWidgets using the std:string with Visual Studio. Is it the 17th chapter (Writing Multithreaded Applications) of the GUI Programming with WxWidgets book? I will check it up and then do my co...
- Sun Oct 02, 2011 1:23 pm
- Forum: C++ Development
- Topic: wxGrid crashes when updated too fast.
- Replies: 4
- Views: 2254
Re: wxGrid crashes when updated too fast.
I tried to convert it to wxString, but still crash:-(
- Sun Oct 02, 2011 1:17 pm
- Forum: C++ Development
- Topic: Please help with GUI crash problem?
- Replies: 7
- Views: 2485
Please help with GUI crash problem?
Hi, all, I had a program (written in wxWidgets 2.8.10) which is occasionally crashed. I debugged into the program and found that it mainly crash on wxGrid updating. I don't have much experience on GUI coding; I doubt I may have used wxWidgets in the wrong way. I will try to explain clearly the main ...
- Thu Sep 15, 2011 7:59 am
- Forum: C++ Development
- Topic: wxGrid crashes when updated too fast.
- Replies: 4
- Views: 2254
wxGrid crashes when updated too fast.
Hi ,all, I would very much appreciate your help regarding the following issue. I'm building an application that among other things displays live prices and compute profits for a number of financial instruments in a Grid. I noticed that the application crashes when the price changes are frequent (I c...
- Fri Aug 19, 2011 1:45 am
- Forum: C++ Development
- Topic: My error with wxButton Enable/IsEnabled function
- Replies: 1
- Views: 992
My error with wxButton Enable/IsEnabled function
Hi all, I have a weired problem with wxButton as follows: A "stop" button (wxButton) is set to disabled by Enable(false) when there are unfinished tasks after user click it. When all tasks finished, the button is set to be enabled by Enable(true). Because the tasks and the user click may asynchorniz...