Updated the erase/paint event logic.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -111,7 +111,7 @@ public:
|
||||
WXDisplay *GetXDisplay() const;
|
||||
|
||||
void SetLastClick(int button, long timestamp)
|
||||
{ m_lastButton = button; m_lastTS = timestamp; }
|
||||
{ m_lastButton = button; m_lastTS = timestamp; }
|
||||
|
||||
int GetLastClickedButton() const { return m_lastButton; }
|
||||
long GetLastClickTime() const { return m_lastTS; }
|
||||
@@ -126,6 +126,9 @@ public:
|
||||
// Clip to paint region?
|
||||
bool GetClipPaintRegion() { return m_clipPaintRegion; }
|
||||
|
||||
// Return clear region
|
||||
wxRegion &GetClearRegion() { return m_clearRegion; }
|
||||
|
||||
// sets the fore/background colour for the given widget
|
||||
static void DoChangeForegroundColour(WXWindow widget, wxColour& foregroundColour);
|
||||
static void DoChangeBackgroundColour(WXWindow widget, wxColour& backgroundColour, bool changeArmColour = FALSE);
|
||||
|
Reference in New Issue
Block a user