diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-05-10 07:29:55 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-05-10 07:29:55 +0200 |
| commit | 298714449a7c19c7a0f85d2f06305432f8a5251c (patch) | |
| tree | 0acd6328ac4d29baca47d1599dd3789d2a28a012 /examples/wxWidgets/main.cpp | |
| parent | 9a632b7d41eb6e12b18fb4f2f0cee817e4958d2f (diff) | |
Cleaning code and update CMI
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; |
