]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/png/pngdemo.h
1. Empty() now doesn't free memory - Clear() does
[wxWidgets.git] / samples / png / pngdemo.h
index e4be03ed4b648e7bc9306eea22e748907aa9c605..eef3432f116cdd15892e314c0a8dbbd86fa96ce8 100644 (file)
@@ -35,6 +35,7 @@ class MyFrame: public wxFrame
     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 +55,5 @@ DECLARE_EVENT_TABLE()
 #define PNGDEMO_QUIT       100
 #define PNGDEMO_ABOUT      101
 #define PNGDEMO_LOAD_FILE  102
+#define PNGDEMO_SAVE_FILE  103