]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix for WXWIN_COMPATIBILITY_2_2
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 24 Mar 2002 00:19:24 +0000 (00:19 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 24 Mar 2002 00:19:24 +0000 (00:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/tbargtk.cpp
src/gtk1/tbargtk.cpp

index ffd6c88c6006e5264d4bd48c9c856c242147e286..1a23a850402f52429783fb89efba65413c8cc080 100644 (file)
@@ -302,7 +302,7 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
     
     if ( tool->IsButton() )
     {
-        wxBitmap bitmap = tool->GetBitmap1();
+        wxBitmap bitmap = tool->GetNormalBitmap();
 
         wxCHECK_MSG( bitmap.Ok(), FALSE,
                      wxT("invalid bitmap for wxToolBar icon") );
index ffd6c88c6006e5264d4bd48c9c856c242147e286..1a23a850402f52429783fb89efba65413c8cc080 100644 (file)
@@ -302,7 +302,7 @@ bool wxToolBar::DoInsertTool(size_t pos, wxToolBarToolBase *toolBase)
     
     if ( tool->IsButton() )
     {
-        wxBitmap bitmap = tool->GetBitmap1();
+        wxBitmap bitmap = tool->GetNormalBitmap();
 
         wxCHECK_MSG( bitmap.Ok(), FALSE,
                      wxT("invalid bitmap for wxToolBar icon") );