Search found 442 matches
- Wed Oct 13, 2010 9:33 am
- Forum: Compiler / Linking / IDE Related
- Topic: visual studio 2008 compile error
- Replies: 4
- Views: 3237
- Mon Oct 11, 2010 6:31 pm
- Forum: C++ Development
- Topic: DEFINE_EVENT_TYPE obsolete?
- Replies: 10
- Views: 2995
You probably left a DECLARE_EVENT_TYPE in a header file. If you declare your event a way, and define it another way, you'll have this message. So if you need your event to be visible out of the scope of your cpp file, you'll have to define it in the header, using the 2.9 way (eg : wxDECLARE_EVENT in...
- Wed Oct 06, 2010 12:54 pm
- Forum: C++ Development
- Topic: wxAuiManager::SavePerspective() Problem
- Replies: 20
- Views: 9022
- Wed Oct 06, 2010 8:44 am
- Forum: C++ Development
- Topic: wxAuiManager::SavePerspective() Problem
- Replies: 20
- Views: 9022
- Wed Oct 06, 2010 7:57 am
- Forum: C++ Development
- Topic: wxAuiManager::SavePerspective() Problem
- Replies: 20
- Views: 9022
- Fri Oct 01, 2010 1:34 pm
- Forum: C++ Development
- Topic: Finding the active child frame in mdi
- Replies: 1
- Views: 638
wxMDIParentFrame::GetActiveChild() is probably the solution, as wxDocMDIChildframe inherit wxMDIChildFrame.
- Fri Oct 01, 2010 12:05 pm
- Forum: C++ Development
- Topic: How to dismiss a wxMessageDialog programmatically?
- Replies: 2
- Views: 1156
As you created a wxMessageDialog, you have to call ShowModal to show it. If it's a modal dialog, you can do anything before it's closed by clicking on a button. I suggest you to not use a wxMessageDialog, but your own wxDialog derived class : bool MainApp::OnInit() { wxDialog* dlg = new wxDialog(0, ...
- Thu Sep 30, 2010 2:52 pm
- Forum: C++ Development
- Topic: Plugin oriented App
- Replies: 62
- Views: 27888
You should use the wxNewId() and wxNewEventType() functions, so, you'll be sure that your IDs will be unique ones. I don't think so. In the application you'll have an instance of the static var which auto generate the IDs. In the plugin, you'll have another one. So you can have multiple IDs with th...
- Thu Sep 30, 2010 2:26 pm
- Forum: C++ Development
- Topic: Plugin oriented App
- Replies: 62
- Views: 27888
- Thu Sep 30, 2010 1:16 pm
- Forum: C++ Development
- Topic: Plugin oriented App
- Replies: 62
- Views: 27888
- Thu Sep 30, 2010 10:57 am
- Forum: C++ Development
- Topic: Append more items at once along with client data
- Replies: 8
- Views: 2470
OK, I understand : the API doesn't provide you a way to add multiple items with client data in only one method. As you have lot's of data, I suggest you to switch to wxHtmlListBox , which is better suitable vary a big quantity of datas. class MyListBox : public wxHtmlListBox { std::vector<MyData> m_...
- Thu Sep 30, 2010 9:53 am
- Forum: C++ Development
- Topic: Append more items at once along with client data
- Replies: 8
- Views: 2470
why don't you use : wxStringClientData* StringClientData = new wxStringClientData [5000]; as wxStringClientData inherit wxClientData, there is no problem at all. You can add it to you list box : wxStringClientData* clientDatas = new wxStringClientData[count]; ... for (size_t i = 0; i < count; ++i) {...
- Tue Sep 28, 2010 3:54 pm
- Forum: Component Writing
- Topic: wxAuiManager
- Replies: 1
- Views: 2403
Hi, I have assembled a panel wxAuiManager within this I have several wxPanel. It is possible that if I close one of these panels removed from the panel once again to its original position in the main panel. Another point too if I want to dockeable again in the main panel is in its initial position ...
- Tue Sep 28, 2010 12:55 pm
- Forum: C++ Development
- Topic: Close-Application issue
- Replies: 14
- Views: 2463
- Tue Sep 28, 2010 10:56 am
- Forum: C++ Development
- Topic: Close-Application issue
- Replies: 14
- Views: 2463