]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/fl/newbmpbtn.cpp
Faster Deselect
[wxWidgets.git] / contrib / src / fl / newbmpbtn.cpp
index 672b6b386fe289ed248c17e4ea8f40dfcdd0e4bb..6de2cfbf1ed6bc096a36567b68fde8b978831581 100644 (file)
@@ -520,7 +520,7 @@ void wxNewBitmapButton::RenderLabelImage( wxBitmap*& destBmp, wxBitmap* srcBmp,
     if ( !mSizeIsSet && 0 )
     {
         mSizeIsSet = true;
-        SetSize( wxDefaultPosition.x,wxDefaultPosition.y,
+        SetSize( wxDefaultCoord, wxDefaultCoord,
                  destBmp->GetWidth()  + mMarginX*2,
                  destBmp->GetHeight() + mMarginY*2, 0
             );