Search found 12 matches
- Sat Aug 31, 2013 4:42 pm
- Forum: C++ Development
- Topic: Event Handler No Longer Working after moving from 2.8 to 2.9
- Replies: 2
- Views: 1428
Re: Event Handler No Longer Working after moving from 2.8 to
Thanks again doublemax, that fixed it.
- Fri Aug 30, 2013 9:48 pm
- Forum: C++ Development
- Topic: Event Handler No Longer Working after moving from 2.8 to 2.9
- Replies: 2
- Views: 1428
Event Handler No Longer Working after moving from 2.8 to 2.9
Hi all, I just upgraded to wxWidgets 2.9.5 after realizing that on OS X 10.8, it's a pain to build things in 2.8. (I've been developing in linux) I have a dialog box (NewKeyDialog) that waits for a keypress, and then closes itself. The dialog box contains a custom component which is given focus. (It...
- Thu Aug 08, 2013 2:51 pm
- Forum: C++ Development
- Topic: Unexpected behavior of wxFrame member data
- Replies: 3
- Views: 1331
Re: Unexpected behavior of wxFrame member data
It sounds like you nailed it, here's what I'm doing with Connect: p1Panel->Connect( myID_P1_PANEL, wxEVT_LEFT_DOWN, wxMouseEventHandler(SetupFrame::OnP1MouseDrag) ); This is in the SetupFrame constructor. I was unfamiliar with Event Sinks, so I just looked into it, and tried doing this: p1Panel->Con...
- Thu Aug 08, 2013 2:32 pm
- Forum: C++ Development
- Topic: Unexpected behavior of wxFrame member data
- Replies: 3
- Views: 1331
Unexpected behavior of wxFrame member data
Hey all, I'm working on a basic app that is used to configure settings for a game that I'm writing, and I'm seeing some strange behavior that I've never encountered before. I think I'm misunderstanding something about how wxWidgets works. So here's what's going on: In my main class, SetupFrame, (inh...
- Wed Jul 17, 2013 9:19 pm
- Forum: Component Writing
- Topic: Add Component to Tab Order?
- Replies: 6
- Views: 4697
Re: Add Component to Tab Order?
Got it working, thanks!
In case anyone else finds this helpful in the future:
Header File: https://gist.github.com/drautb/5606423
Source File: https://gist.github.com/drautb/5606424
In case anyone else finds this helpful in the future:
Header File: https://gist.github.com/drautb/5606423
Source File: https://gist.github.com/drautb/5606424
- Tue Jul 16, 2013 8:22 pm
- Forum: Component Writing
- Topic: Add Component to Tab Order?
- Replies: 6
- Views: 4697
Re: Add Component to Tab Order?
Yep, I tried that too, no change.
If you don't have any other ideas, I'm thinking I may try getting it to work by using a different base component, rather than wxStaticBitmap. Do you have any suggestions if I go that route?
If you don't have any other ideas, I'm thinking I may try getting it to work by using a different base component, rather than wxStaticBitmap. Do you have any suggestions if I go that route?
- Tue Jul 16, 2013 7:40 pm
- Forum: Component Writing
- Topic: Add Component to Tab Order?
- Replies: 6
- Views: 4697
Re: Add Component to Tab Order?
Same result, tabbing halts when it reaches the component.
- Tue Jul 16, 2013 6:55 pm
- Forum: Component Writing
- Topic: Add Component to Tab Order?
- Replies: 6
- Views: 4697
Add Component to Tab Order?
Hey All, I'm using a custom checkbox component in my application to get around having to use a label. ( http://forums.wxwidgets.org/viewtopic.php?f=21&t=37429 ) The problem I have now though, is that this component isn't included in the tab order. I'm assuming that this is because it inherits fr...
- Thu May 23, 2013 3:14 pm
- Forum: Component Writing
- Topic: CheckBox without Label
- Replies: 4
- Views: 7680
Re: CheckBox without Label
Ok, thanks!
- Wed May 22, 2013 2:22 pm
- Forum: Component Writing
- Topic: CheckBox without Label
- Replies: 4
- Views: 7680
Re: CheckBox without Label
Yep, that's what it was. Silly me.
Is this a good way to do it? To manually trigger the event?
Is this a good way to do it? To manually trigger the event?
- Wed May 22, 2013 12:29 am
- Forum: Component Writing
- Topic: CheckBox without Label
- Replies: 4
- Views: 7680
CheckBox without Label
Howdy all, I need a Checkbox component, but without a label. I tried just putting "" for the label on a wxCheckBox, but when I click the checkbox, it still highlights this empty area to the side of the checkbox. (At least on Ubuntu.) After some googling, I found an implementation that some...
- Sat Mar 02, 2013 10:00 pm
- Forum: Compiler / Linking / IDE Related
- Topic: wxWidgets 2.8.12 + VS2012
- Replies: 4
- Views: 8334
wxWidgets 2.8.12 + VS2012
Hello, I'm trying to build the latest stable version of wxWidgets (2.8.12) for Windows using VS2012. I'm using the command line, so I just did what the INSTALL-MSW.txt file said, which was to use nmake like this: 'nmake -f makefile.vc' It appears to work at first, but after a few minutes it fails wi...