]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/tbargtk.cpp
Unicode compilation fixes (patch 747793)
[wxWidgets.git] / src / gtk / tbargtk.cpp
index 5c47efac8b6a86b30cf8f51a55483d26b24c085f..b3ab910bfdd1e497f7d06e7cfe3756d57bb1b01d 100644 (file)
@@ -136,7 +136,7 @@ protected:
 // wxWin macros
 // ----------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxToolBarBase)
+IMPLEMENT_DYNAMIC_CLASS(wxToolBar, wxControl)
 
 // ============================================================================
 // implementation
@@ -433,7 +433,8 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
 
                 if ( tool->IsRadio() )
                 {
-                    wxToolBarToolsList::compatibility_iterator node;
+                    wxToolBarToolsList::compatibility_iterator node
+                        = wxToolBarToolsList::compatibility_iterator();
                     if ( pos ) node = m_tools.Item(pos - 1);
 
                     while ( node )