Search found 6 matches
- Tue Feb 15, 2005 12:33 am
- Forum: C++ Development
- Topic: wxSlider inside a wxToolBar
- Replies: 7
- Views: 2206
shouldn't it be of some default width? Not according to the documentation. Actually, according to the documentation, if he doesn't specify the size otherwise (and he doesn't in this case)- the wxSlider should get a wxDefaultSize. dessaya, try giving it a size of your own (pass the constructor a wxS...
- Mon Feb 14, 2005 10:14 pm
- Forum: C++ Development
- Topic: wxSlider inside a wxToolBar
- Replies: 7
- Views: 2206
- Sun Feb 13, 2005 5:20 pm
- Forum: C++ Development
- Topic: wxSlider inside a wxToolBar
- Replies: 7
- Views: 2206
wxSlider inside a wxToolBar
I have this code in the constructor of a wxFrame:
I'm getting a zero-width slider... shouldn't it be of some default width?
I'm using libwxgtk2.5-dev in Debian sid.
Thanks,
Diego
Code: Select all
wxToolBar *toolBar = CreateToolBar();
toolBar->AddControl(new wxSlider(toolBar, ID_Slider, 0, 0, 100));
I'm using libwxgtk2.5-dev in Debian sid.
Thanks,
Diego
- Tue Oct 05, 2004 2:46 pm
- Forum: Platform Related Issues
- Topic: Win32 - Problem with wxToolBar & radio buttons
- Replies: 3
- Views: 1494
Win32 - Problem with wxToolBar & radio buttons
Hi, it's me again :) , with a similar problem... this time I'm trying to place radio buttons in the toolbar. This code seems to work fine under Linux/GTK+: [syntax="c"]enum { ID_Tool1 = 1, ID_Tool2 = 2, ID_Tool3 = 3, ID_Tool4 = 4, }; BEGIN_EVENT_TABLE(MainFrame, wxFrame) EVT_TOOL_RANGE(ID_...
- Wed Sep 22, 2004 7:17 pm
- Forum: Platform Related Issues
- Topic: Win32 - Frames don't close
- Replies: 2
- Views: 2175
When returning TRUE from OnInit you tell wx that everything initialized ok and that the program can create it's message loop. That's exacttly what happens. Although no window is present .. check out the Minimal sample in the samples/minimal to see how it is done. If you don't want a frame but only ...
- Tue Sep 21, 2004 2:27 pm
- Forum: Platform Related Issues
- Topic: Win32 - Frames don't close
- Replies: 2
- Views: 2175
Win32 - Frames don't close
Hello, I'm new to wxWidgets and I'm having this little problem. My application compiles and runs perfectly under Linux/GTK+2. I'm trying to make it run on Windows 98. I compiled wxWidgets 2.4.2 using Cygwin/g++ 3.3.3. My app compiles with no errors/warnings, but when I run it, it behaves oddly. I cr...