X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/457814b5aa2ee5c83abc65a6aee2a3ebcb1af34f..4dc2c3bbc5bc04b6239e14a7ec4e3ddc400a00bc:/samples/dialogs/dialogs.h?ds=inline diff --git a/samples/dialogs/dialogs.h b/samples/dialogs/dialogs.h index 39c199a35a..3141b2fd4b 100644 --- a/samples/dialogs/dialogs.h +++ b/samples/dialogs/dialogs.h @@ -26,7 +26,6 @@ class MyFrame: public wxFrame { public: MyFrame(wxWindow *parent, const wxString& title, const wxPoint& pos, const wxSize& size); - bool OnClose(void) { return TRUE; } void ChooseColour(wxCommandEvent& event); void ChooseFont(wxCommandEvent& event); @@ -37,7 +36,7 @@ class MyFrame: public wxFrame void FileSave(wxCommandEvent& event); void DirChoose(wxCommandEvent& event); -#if !defined(__WINDOWS__) || USE_GENERIC_DIALOGS_IN_MSW +#if !defined(__WXMSW__) || wxTEST_GENERIC_DIALOGS_IN_MSW void ChooseColourGeneric(wxCommandEvent& event); void ChooseFontGeneric(wxCommandEvent& event); #endif