]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/png/pngdemo.h
wxFileSelector should have file name only, not path, passed to 3rd arg
[wxWidgets.git] / samples / png / pngdemo.h
index e4be03ed4b648e7bc9306eea22e748907aa9c605..e250aa69d281733576b9ff85ceaa7e539c136450 100644 (file)
@@ -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