X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..847341dbebd752290cb450dbbbc4c2bc9b6a6ac8:/samples/png/pngdemo.h 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