X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd9396d52dc2118f2f527ecea55271e79a893ed4..06b781c7c630ff8c2ab30211cb4351b4cb5bfb47:/utils/framelayout/src/newbmpbtn.h 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 );