Docview mended (grrr) and OGL studio partially working under wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2000-03-20 13:41:16 +00:00
parent 26993c4f64
commit 0a0352f2f8
7 changed files with 94 additions and 13 deletions

View File

@@ -335,7 +335,10 @@ public:
// called when file format detection didn't work, can be overridden to do
// something in this case
virtual void OnOpenFileFailure() { wxFAIL_MSG(_T("file format mismatch")); }
// This is of course completely stupid, because if the file dialog is
// cancelled you get an assert. Brilliant. -- JACS
// virtual void OnOpenFileFailure() { wxFAIL_MSG(_T("file format mismatch")); }
virtual void OnOpenFileFailure() { }
virtual wxDocument *CreateDocument(const wxString& path, long flags = 0);
virtual wxView *CreateView(wxDocument *doc, long flags = 0);