Add "pressed" and "current" wxBitmapButton XRC properties

New names are consistent with the names of the preferred SetBitmapXXX()
functions.

Document them and show using one of them in the sample.
This commit is contained in:
Vadim Zeitlin
2022-02-20 01:44:48 +00:00
parent f4e3b69dd2
commit 652d37ea61
4 changed files with 27 additions and 10 deletions

View File

@@ -30,7 +30,8 @@ private:
void SetBitmapIfSpecified(wxBitmapButton* button,
BitmapSetter setter,
const char* paramName);
const char* paramName,
const char* paramNameAlt = NULL);
};
#endif // wxUSE_XRC && wxUSE_BMPBUTTON