projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pressing build-in joystick on WinCE phones fires wxEVT_JOY_BUTTON_DOWN event.
[wxWidgets.git]
/
include
/
wx
/
bmpbuttn.h
diff --git
a/include/wx/bmpbuttn.h
b/include/wx/bmpbuttn.h
index 1bc0a1239ba05fb5315a9efc0de985d9ccbb44cb..61a5428e2081ff4d132b4d88c766e21401b29a1a 100644
(file)
--- a/
include/wx/bmpbuttn.h
+++ b/
include/wx/bmpbuttn.h
@@
-61,13
+61,9
@@
public:
int GetMarginX() const { return m_marginX; }
int GetMarginY() const { return m_marginY; }
int GetMarginX() const { return m_marginX; }
int GetMarginY() const { return m_marginY; }
- virtual void ApplyParentThemeBackground(const wxColour& bg)
- { SetBackgroundColour(bg); }
-
-
protected:
// function called when any of the bitmaps changes
protected:
// function called when any of the bitmaps changes
- virtual void OnSetBitmap() { InvalidateBestSize(); }
+ virtual void OnSetBitmap() { InvalidateBestSize();
Refresh();
}
// the bitmaps for various states
wxBitmap m_bmpNormal,
// the bitmaps for various states
wxBitmap m_bmpNormal,