X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..ba7bd901502db16ac1ff00f8da84c5bcda8a7466:/samples/png/pngdemo.h?ds=sidebyside diff --git a/samples/png/pngdemo.h b/samples/png/pngdemo.h index e4be03ed4b..e250aa69d2 100644 --- a/samples/png/pngdemo.h +++ b/samples/png/pngdemo.h @@ -32,9 +32,9 @@ class MyFrame: public wxFrame MyCanvas *canvas; MyFrame(wxFrame *parent, const wxString& title, const wxPoint& pos, const wxSize& size); - bool OnClose(void); void OnActivate(bool) {} void OnLoadFile(wxCommandEvent& event); + void OnSaveFile(wxCommandEvent& event); void OnQuit(wxCommandEvent& event); void OnAbout(wxCommandEvent& event); DECLARE_EVENT_TABLE() @@ -54,4 +54,5 @@ DECLARE_EVENT_TABLE() #define PNGDEMO_QUIT 100 #define PNGDEMO_ABOUT 101 #define PNGDEMO_LOAD_FILE 102 +#define PNGDEMO_SAVE_FILE 103