Search found 4 matches

by zaneski13
Fri Aug 13, 2010 4:07 am
Forum: C++ Development
Topic: Only Allow numbers to be types in a wxTextCtrl?
Replies: 2
Views: 942

Only Allow numbers to be types in a wxTextCtrl?

Hi, as the title says, I'm trying to make it so that the user can only type numbers into a wxTextCtrl. I'm using wxWidgets2.6.2
Does anyone know of a way to pull this off?
Thanks!
by zaneski13
Sun Nov 15, 2009 7:48 pm
Forum: C++ Development
Topic: wxMessageBox() doesn't show
Replies: 1
Views: 633

wxMessageBox() doesn't show

I have an overloaded class called MainFrame which inherits from wxFrame. This window is maximized and contains a pointer to another overloaded class called GLCanvas which inherits from wxGLCanvas. right now I'm just trying to handle events inside of the GLCanvas class so I was testing different func...
by zaneski13
Sun Nov 15, 2009 2:17 am
Forum: C++ Development
Topic: NOOB QUESTION, wxImageList, wxImage, wxBitmap
Replies: 1
Views: 435

NOOB QUESTION, wxImageList, wxImage, wxBitmap

I'm just starting in wxWidgets, so far so good but I've jusr run into a 'problem' I'm wanting to store a list of images on a side panel. I looked at the class wxImageList which seems like it's what I want. However, most of the images that I'll be using are decided by the user. ( the user has the abi...
by zaneski13
Sat Nov 14, 2009 1:42 am
Forum: C++ Development
Topic: Handle KeyEvents all in one class
Replies: 1
Views: 366

Handle KeyEvents all in one class

I was just wondering how it may be possible to make a wxFrame and in that frame contain 3 sub windows / panels but only handle the key events in the mainframe class (wxFrame overloaded) and send the key states to each window. I've tryed wxWANTS_CHARS but it didn't do what I wanted. As I'm typing thi...