diff options
Diffstat (limited to 'src/c_fl_menu_window.cpp')
-rw-r--r-- | src/c_fl_menu_window.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/c_fl_menu_window.cpp b/src/c_fl_menu_window.cpp index a01b0f7..cae1bf9 100644 --- a/src/c_fl_menu_window.cpp +++ b/src/c_fl_menu_window.cpp @@ -55,52 +55,52 @@ MENUWINDOW new_fl_menu_window2(int w, int h, char* label) { } void free_fl_menu_window(MENUWINDOW m) { - delete reinterpret_cast<My_Menu_Window*>(m); + delete static_cast<My_Menu_Window*>(m); } void fl_menu_window_show(MENUWINDOW m) { - reinterpret_cast<Fl_Menu_Window*>(m)->show(); + static_cast<Fl_Menu_Window*>(m)->show(); } void fl_menu_window_hide(MENUWINDOW m) { - reinterpret_cast<Fl_Menu_Window*>(m)->hide(); + static_cast<Fl_Menu_Window*>(m)->hide(); } void fl_menu_window_flush(MENUWINDOW m) { - reinterpret_cast<Fl_Menu_Window*>(m)->flush(); + static_cast<Fl_Menu_Window*>(m)->flush(); } void fl_menu_window_erase(MENUWINDOW m) { - reinterpret_cast<Fl_Menu_Window*>(m)->erase(); + static_cast<Fl_Menu_Window*>(m)->erase(); } void fl_menu_window_set_overlay(MENUWINDOW m) { - reinterpret_cast<Fl_Menu_Window*>(m)->set_overlay(); + static_cast<Fl_Menu_Window*>(m)->set_overlay(); } void fl_menu_window_clear_overlay(MENUWINDOW m) { - reinterpret_cast<Fl_Menu_Window*>(m)->clear_overlay(); + static_cast<Fl_Menu_Window*>(m)->clear_overlay(); } unsigned int fl_menu_window_overlay(MENUWINDOW m) { - return reinterpret_cast<Fl_Menu_Window*>(m)->overlay(); + return static_cast<Fl_Menu_Window*>(m)->overlay(); } void fl_menu_window_draw(MENUWINDOW n) { - reinterpret_cast<My_Menu_Window*>(n)->Fl_Menu_Window::draw(); + static_cast<My_Menu_Window*>(n)->Fl_Menu_Window::draw(); } int fl_menu_window_handle(MENUWINDOW n, int e) { - return reinterpret_cast<My_Menu_Window*>(n)->Fl_Menu_Window::handle(e); + return static_cast<My_Menu_Window*>(n)->Fl_Menu_Window::handle(e); } |