X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e08b761b0c5ecb6df295785b78f1f3637331887..ddf2da08b5d1beb45caea2c5368c66a8a9bf5878:/contrib/include/wx/fl/newbmpbtn.h diff --git a/contrib/include/wx/fl/newbmpbtn.h b/contrib/include/wx/fl/newbmpbtn.h index a386211513..1363d73829 100644 --- a/contrib/include/wx/fl/newbmpbtn.h +++ b/contrib/include/wx/fl/newbmpbtn.h @@ -50,7 +50,7 @@ protected: wxString mLabelText; wxString mImageFileName; - int mImageFileType; + wxBitmapType mImageFileType; wxBitmap mDepressedBmp; // source image for rendering // labels for particular state @@ -114,17 +114,17 @@ public: // use this constructor if buttons have to be persistant wxNewBitmapButton( const wxString& bitmapFileName, - const int bitmapFileType = wxBITMAP_TYPE_BMP, - const wxString& labelText = "", - int alignText = NB_ALIGN_TEXT_BOTTOM, - bool isFlat = TRUE, - // this is the default type of fired events - int firedEventType = wxEVT_COMMAND_MENU_SELECTED, - int marginX = 2, - int marginY = 2, - int textToLabelGap = 2, - bool isSticky = FALSE - ); + const wxBitmapType bitmapFileType = wxBITMAP_TYPE_BMP, + const wxString& labelText = "", + int alignText = NB_ALIGN_TEXT_BOTTOM, + bool isFlat = TRUE, + // this is the default type of fired events + int firedEventType = wxEVT_COMMAND_MENU_SELECTED, + int marginX = 2, + int marginY = 2, + int textToLabelGap = 2, + bool isSticky = FALSE + ); ~wxNewBitmapButton();