]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/toolbar.cpp
check default library directories in WX_PATH_FIND_LIBRARIES; do *not* add default...
[wxWidgets.git] / src / motif / toolbar.cpp
index 61640318f537370eb64c5bf0de86f7a1ff8f94a6..4c685aada7802729bd7cc2700f647ff5173f44ab 100644 (file)
@@ -276,8 +276,6 @@ bool wxToolBar::Realize()
 
     int buttonHeight = 0, buttonWidth = 0;
 
-    int currentSpacing = 0;
-
     Widget button;
     Pixmap pixmap, insensPixmap;
     wxBitmap bmp, insensBmp;
@@ -470,7 +468,6 @@ bool wxToolBar::Realize()
                 XtAddEventHandler (button, EnterWindowMask | LeaveWindowMask,
                         False, wxToolButtonPopupCallback, (XtPointer) this);
 
-                currentSpacing = 0;
                 break;
         }