projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug reported in patch 427696 (incorrect toolbar style)
[wxWidgets.git]
/
samples
/
png
/
pngdemo.h
diff --git
a/samples/png/pngdemo.h
b/samples/png/pngdemo.h
index e4be03ed4b648e7bc9306eea22e748907aa9c605..e250aa69d281733576b9ff85ceaa7e539c136450 100644
(file)
--- 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);
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 OnActivate(bool) {}
void OnLoadFile(wxCommandEvent& event);
+ void OnSaveFile(wxCommandEvent& event);
void OnQuit(wxCommandEvent& event);
void OnAbout(wxCommandEvent& event);
DECLARE_EVENT_TABLE()
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_QUIT 100
#define PNGDEMO_ABOUT 101
#define PNGDEMO_LOAD_FILE 102
+#define PNGDEMO_SAVE_FILE 103