aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-05-10 07:29:55 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-05-10 07:29:55 +0200
commit298714449a7c19c7a0f85d2f06305432f8a5251c (patch)
tree0acd6328ac4d29baca47d1599dd3789d2a28a012 /examples
parent9a632b7d41eb6e12b18fb4f2f0cee817e4958d2f (diff)
Cleaning code and update CMI
Diffstat (limited to 'examples')
-rw-r--r--examples/wxWidgets/main.cpp5
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 = &current_dc;