]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed toolbar gaffe.
authorJulian Smart <julian@anthemion.co.uk>
Mon, 30 Nov 1998 12:59:20 +0000 (12:59 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 30 Nov 1998 12:59:20 +0000 (12:59 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/tbar95.h
src/msw/tbar95.cpp

index 756b3f371c58bd268b19135855d71e8eb9a462a9..3a20875d47176cee3678274c0e8ef568c74c99fb 100644 (file)
@@ -44,11 +44,9 @@ class WXDLLEXPORT wxToolBar95: public wxToolBarBase
             const wxString& name = wxToolBarNameStr);
 
   // Call default behaviour
-/*
   void OnPaint(wxPaintEvent& event) { Default() ; }
   void OnSize(wxSizeEvent& event) { Default() ; }
   void OnKillFocus(wxFocusEvent& event) { Default() ; }
-*/
   void OnMouseEvent(wxMouseEvent& event);
 
   // Handle wxToolBar95 events
index e68cb480f83045ec8cfdae6e7647b77cdc2f7f3f..5e8e5dab765008b871d71e0d8b066192a126f876 100644 (file)
@@ -75,7 +75,10 @@ IMPLEMENT_DYNAMIC_CLASS(wxToolBar95, wxToolBarBase)
 #endif
 
 BEGIN_EVENT_TABLE(wxToolBar95, wxToolBarBase)
+    EVT_SIZE(wxToolBar95::OnSize)
+    EVT_PAINT(wxToolBar95::OnPaint)
     EVT_MOUSE_EVENTS(wxToolBar95::OnMouseEvent)
+    EVT_KILL_FOCUS(wxToolBar95::OnKillFocus)
     EVT_SYS_COLOUR_CHANGED(wxToolBar95::OnSysColourChanged)
 END_EVENT_TABLE()