diff options
Diffstat (limited to 'sources/MyRuLib')
-rw-r--r-- | sources/MyRuLib/FbMainFrame.cpp | 2 | ||||
-rw-r--r-- | sources/MyRuLib/MyRuLibApp.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sources/MyRuLib/FbMainFrame.cpp b/sources/MyRuLib/FbMainFrame.cpp index 861ee211..87a53dc6 100644 --- a/sources/MyRuLib/FbMainFrame.cpp +++ b/sources/MyRuLib/FbMainFrame.cpp @@ -290,7 +290,7 @@ bool FbMainFrame::Create(wxWindow * parent, wxWindowID id, const wxString & titl } else {
size = wxSize( FbParams(FB_FRAME_WIDTH), FbParams(FB_FRAME_HEIGHT) );
}
-#endif __WXMAC__
+#endif // __WXMAC__
bool res = wxFrame::Create(parent, id, title, wxDefaultPosition, size, wxDEFAULT_FRAME_STYLE|wxFRAME_NO_WINDOW_MENU);
if(res) {
diff --git a/sources/MyRuLib/MyRuLibApp.h b/sources/MyRuLib/MyRuLibApp.h index 96825f54..316b26a9 100644 --- a/sources/MyRuLib/MyRuLibApp.h +++ b/sources/MyRuLib/MyRuLibApp.h @@ -33,7 +33,7 @@ class MyRuLibApp : public wxApp virtual int FilterEvent(wxEvent & event);
#endif // __WXMSW__
virtual void OnUnhandledException() {}
- virtual bool OnExceptionInMainLoop() { return false; }
+ virtual bool OnExceptionInMainLoop() { return true; }
private:
void SetLibFile(const wxString & filename);
wxFileName GetDatabaseFile();
|