]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/framelayout/src/dyntbar.cpp
Compile fix for GTK 1.0
[wxWidgets.git] / utils / framelayout / src / dyntbar.cpp
index e455a5947e52cd96ed45f855e8dc4b7eaa4485d1..a4bce48b0cb87ac99b5ddddf374b615af7f88336 100644 (file)
@@ -67,7 +67,7 @@ wxDynamicToolBar::wxDynamicToolBar(wxWindow *parent, const wxWindowID id,
 {
        Create(parent, id, pos, size, style, orientation, RowsOrColumns, name);
 
-       SetBackgroundColour( wxColour(192,192,192) );
+       SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_3DFACE) );
 }
 
 bool wxDynamicToolBar::Create(wxWindow *parent, const wxWindowID id, 
@@ -82,7 +82,7 @@ bool wxDynamicToolBar::Create(wxWindow *parent, const wxWindowID id,
        if ( ! wxWindow::Create(parent, id, pos, size, style, name) )
                return FALSE;
 
-       SetBackgroundColour( wxColour( 192,192,192 ) );
+       SetBackgroundColour( wxSystemSettings::GetSystemColour( wxSYS_COLOUR_3DFACE ));
 
        return TRUE;
 }