Fixed bug in wxListCtrl
Made wxMDIDocView work git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -114,7 +114,7 @@ int MyApp::OnExit(void)
|
||||
* Called from view.cpp, when a view is created.
|
||||
*/
|
||||
|
||||
wxFrame *MyApp::CreateChildFrame(wxDocument *doc, wxView *view, bool isCanvas)
|
||||
wxMDIChildFrame *MyApp::CreateChildFrame(wxDocument *doc, wxView *view, bool isCanvas)
|
||||
{
|
||||
//// Make a child frame
|
||||
wxDocMDIChildFrame *subframe = new wxDocMDIChildFrame(doc, view, GetMainFrame(), -1, "Child Frame",
|
||||
|
@@ -28,7 +28,7 @@ class MyApp: public wxApp
|
||||
bool OnInit(void);
|
||||
int OnExit(void);
|
||||
|
||||
wxFrame *CreateChildFrame(wxDocument *doc, wxView *view, bool isCanvas);
|
||||
wxMDIChildFrame *CreateChildFrame(wxDocument *doc, wxView *view, bool isCanvas);
|
||||
|
||||
protected:
|
||||
wxDocManager* m_docManager;
|
||||
|
@@ -113,7 +113,7 @@ bool DrawingView::OnClose(bool deleteWindow)
|
||||
if (frame)
|
||||
frame->SetTitle(s);
|
||||
|
||||
SetFrame(NULL);
|
||||
SetFrame((wxFrame*)NULL);
|
||||
|
||||
Activate(FALSE);
|
||||
|
||||
|
Reference in New Issue
Block a user