]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/toolbar.h
Don't infinitely recurse when setting the child focus. Without
[wxWidgets.git] / include / wx / os2 / toolbar.h
index edb8e0e785ff0f2fcb4aca676163d02632af15c9..24adde3e98f1d7ffe18230ab60686bb11cd018ed 100644 (file)
@@ -205,6 +205,15 @@ private:
     wxCoord                         m_vXMouse;
     wxCoord                         m_vYMouse;
 
+    //
+    // Virtual function hiding supression
+    virtual wxToolBarToolBase *InsertTool (size_t nPos, wxToolBarToolBase* pTool)
+    {
+        return( wxToolBarBase::InsertTool( nPos
+                                          ,pTool
+                                         ));
+    }
+
     DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS(wxToolBar)
 };