]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/tbarbase.h
Moved OGL to new locations.
[wxWidgets.git] / include / wx / tbarbase.h
index 288f2d3a64806f9022fb69281b7d7351ad538749..e75206df99d1a828dcf21fdf93df85c6386bfcd2 100644 (file)
@@ -142,7 +142,7 @@ public:
     {
         if ( m_toolStyle == wxTOOL_STYLE_CONTROL )
         {
     {
         if ( m_toolStyle == wxTOOL_STYLE_CONTROL )
         {
-            return m_control->GetClientData();
+            return (wxObject*)m_control->GetClientData();
         }
         else
         {
         }
         else
         {