]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tbarbase.h
Added ability to call wxWindow::OnPaint under Windows (experimental).
[wxWidgets.git] / include / wx / tbarbase.h
index 288f2d3a64806f9022fb69281b7d7351ad538749..863264c29048004ff1ccbe5c5b9f5bd3ef7939e1 100644 (file)
@@ -142,7 +142,7 @@ public:
     {
         if ( m_toolStyle == wxTOOL_STYLE_CONTROL )
         {
-            return m_control->GetClientData();
+            return (wxObject*)m_control->GetClientData();
         }
         else
         {
@@ -206,7 +206,7 @@ protected:
 };
 
 // a list of toolbar tools
-WX_DECLARE_LIST(wxToolBarToolBase, wxToolBarToolsList);
+WX_DECLARE_EXPORTED_LIST(wxToolBarToolBase, wxToolBarToolsList);
 
 // ----------------------------------------------------------------------------
 // the base class for all toolbars