X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd9396d52dc2118f2f527ecea55271e79a893ed4..34a1d7328f198b5ad31c33a07a6078f089feb45f:/utils/framelayout/src/newbmpbtn.h?ds=sidebyside diff --git a/utils/framelayout/src/newbmpbtn.h b/utils/framelayout/src/newbmpbtn.h index df25a45752..9d0c6315d0 100644 --- a/utils/framelayout/src/newbmpbtn.h +++ b/utils/framelayout/src/newbmpbtn.h @@ -42,11 +42,11 @@ protected: int mMarginY; int mTextAlignment; bool mIsSticky; + bool mIsFlat; wxString mLabelText; wxString mImageFileName; int mImageFileType; - bool mIsFlat; wxBitmap mDepressedBmp; // source image for rendering // labels for particular state @@ -64,6 +64,7 @@ protected: bool mIsPressed; bool mIsInFocus; bool mPrevPressedState; + bool mPrevInFocusState; bool mHasFocusedBmp; @@ -142,6 +143,7 @@ public: bool isPressed = FALSE); virtual void RenderLabelImages(); + virtual void RenderAllLabelImages(); // event handlers void OnLButtonDown( wxMouseEvent& event );