diff options
Diffstat (limited to 'examples/wxWidgets/main.cpp')
| -rw-r--r-- | examples/wxWidgets/main.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/wxWidgets/main.cpp b/examples/wxWidgets/main.cpp index 303d014..9f35981 100644 --- a/examples/wxWidgets/main.cpp +++ b/examples/wxWidgets/main.cpp @@ -23,9 +23,12 @@ public: } private: - void OnExit(wxCommandEvent &event) { Close(true); } + void OnExit(wxCommandEvent &event) { + (void)event; // Disable unused variable warning + Close(true); } void OnPaint(wxPaintEvent &event) { + (void)event; // Disable unused variable warning wxPaintDC current_dc(this); dc = ¤t_dc; |
