work. Removed compatibility function from docview.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@261
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void OnUndo(wxCommandEvent& event);
void OnRedo(wxCommandEvent& event);
-#ifdef WXWIN_COMPATIBILITY
- virtual wxDocument *CreateDocument(char *WXUNUSED(path), long WXUNUSED(flags = 0)) { return NULL; };
-#endif
virtual wxDocument *CreateDocument(const wxString& path, long flags = 0);
virtual wxView *CreateView(wxDocument *doc, long flags = 0);
virtual void DeleteTemplate(wxDocTemplate *temp, long flags = 0);
{
if ( GetStatusBar()->GetStatusText(0) != "Ready" )
SetStatusText("Ready");
+
+ wxFrame::OnIdle(event);
}
MyCanvas::MyCanvas(wxWindow* parent, int x, int y, int w, int h) :