]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/toolbar.cpp
Added URL support to attribute objects and to wxRichTextCtrl,
[wxWidgets.git] / src / motif / toolbar.cpp
index dce201528dd20fc637f18d182ef956ed16f0fad0..753bb8ff20eae117935fd848af2a889f77ca17fa 100644 (file)
@@ -379,7 +379,7 @@ bool wxToolBar::Realize()
                 insensBmp = tool->GetDisabledBitmap();
                 if ( bmp.GetMask() || insensBmp.GetMask() )
                 {
-                    int backgroundPixel;
+                    WXPixel backgroundPixel;
                     XtVaGetValues(button, XmNbackground, &backgroundPixel,
                                   NULL);
 
@@ -402,7 +402,7 @@ bool wxToolBar::Realize()
                 // Create a selected/toggled bitmap. If there isn't a 2nd
                 // bitmap, we need to create it (with a darker, selected
                 // background)
-                int backgroundPixel;
+                WXPixel backgroundPixel;
                 if ( tool->CanBeToggled() )
                     XtVaGetValues(button, XmNselectColor, &backgroundPixel,
                                   NULL);