Search found 41 matches
- Sun Nov 28, 2010 6:20 pm
- Forum: C++ Development
- Topic: (2.9.1) wxGridBagSizer assertation
- Replies: 4
- Views: 2154
- Sun Nov 28, 2010 5:54 pm
- Forum: C++ Development
- Topic: (2.9.1) wxGridBagSizer assertation
- Replies: 4
- Views: 2154
The problem is that this code is generated by DialogBlocks. So if I change the order it'll be overwritten the next time I save. The FlexGridSizer I use a couple of lines before doesn't seem to have that limitation since the following code doesn't cause an assert. wxFlexGridSizer* itemFlexGridSizer32...
- Sun Nov 28, 2010 5:36 pm
- Forum: C++ Development
- Topic: (2.9.1) wxGridBagSizer assertation
- Replies: 4
- Views: 2154
(2.9.1) wxGridBagSizer assertation
Hello, I've been building an application with the help of DialogBlocks. I have a GridBagSizer inside a wxDialog. The generated code for it looks like this: wxGridBagSizer* itemGridBagSizer46 = new wxGridBagSizer(0, 0); itemGridBagSizer46->AddGrowableCol(1); itemGridBagSizer46->AddGrowableCol(3); ite...
- Sun Apr 06, 2008 8:18 am
- Forum: General Development
- Topic: How do you escape a semicolon in C++?
- Replies: 3
- Views: 1526
- Sat Apr 05, 2008 9:37 pm
- Forum: C++ Development
- Topic: wxWidgets/C++ Tabbed Text Editor
- Replies: 26
- Views: 7094
- Sat Apr 05, 2008 9:28 pm
- Forum: C++ Development
- Topic: wxWidgets/C++ Tabbed Text Editor
- Replies: 26
- Views: 7094
Well, single-click is out of question since you can't find out what you clicked on if you're not on Windows and/or have the Notebook attached to the left (as in your code) you should do it with a double-click handler. Define double-click handler in the header file: //Help Menu void OnAbout (wxComman...
- Sat Apr 05, 2008 9:18 pm
- Forum: C++ Development
- Topic: wxWidgets/C++ Tabbed Text Editor
- Replies: 26
- Views: 7094
You don't since the image itself isn't a control, you handle mouse events on the wxNotebook instead. There's a flag which is supposed to tell if you clicked on the image of a page, but it doesn't seem to work if the notebook is attached on the left or right side of the window. :roll: Well, that flag...
- Sat Apr 05, 2008 8:13 pm
- Forum: C++ Development
- Topic: wxWidgets/C++ Tabbed Text Editor
- Replies: 26
- Views: 7094
- Sat Apr 05, 2008 7:21 pm
- Forum: C++ Development
- Topic: wxWidgets/C++ Tabbed Text Editor
- Replies: 26
- Views: 7094
- Sat Apr 05, 2008 6:28 pm
- Forum: C++ Development
- Topic: wxWidgets/C++ Tabbed Text Editor
- Replies: 26
- Views: 7094
- Sat Apr 05, 2008 5:48 pm
- Forum: C++ Development
- Topic: wxWidgets/C++ Tabbed Text Editor
- Replies: 26
- Views: 7094
- Sat Apr 05, 2008 5:10 pm
- Forum: C++ Development
- Topic: wxWidgets/C++ Tabbed Text Editor
- Replies: 26
- Views: 7094
- Sat Apr 05, 2008 5:08 pm
- Forum: C++ Development
- Topic: wxWidgets/C++ Tabbed Text Editor
- Replies: 26
- Views: 7094
- Sat Apr 05, 2008 5:05 pm
- Forum: C++ Development
- Topic: wxWidgets/C++ Tabbed Text Editor
- Replies: 26
- Views: 7094
This should get you started. ///////////////////////////////////////////////////////////////////////////// // Name: CWebGUI.cpp // Purpose: Text Editor for web development // Author: Timothy J. Warren // Created: 2008-02 // Copyright: (c) 2008 Timothy J. Warren // Licence: Source on request ////////...
- Sat Apr 05, 2008 4:48 pm
- Forum: C++ Development
- Topic: wxWidgets/C++ Tabbed Text Editor
- Replies: 26
- Views: 7094
I am not getting the warnings about the xpms with GCC on Windows here, may have to do with your compiler or its settings. There are multiple errors as far as I can see. You create _local_ controls in MyApp::OnInit(): wxNotebook* Notebook = new wxNotebook(frame, wxID_ANY, wxDefaultPosition, wxSize(64...