projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git]
/
include
/
wx
/
msw
/
brush.h
diff --git
a/include/wx/msw/brush.h
b/include/wx/msw/brush.h
index 5805a692521485f990624682a6dba148b781791b..1ec1b80b7e5f7513006575f6b0ac1f739e0935b1 100644
(file)
--- a/
include/wx/msw/brush.h
+++ b/
include/wx/msw/brush.h
@@
-57,8
+57,8
@@
public:
virtual void SetStipple(const wxBitmap& stipple) ;
inline wxBrush& operator = (const wxBrush& brush) { if (*this == brush) return (*this); Ref(brush); return *this; }
virtual void SetStipple(const wxBitmap& stipple) ;
inline wxBrush& operator = (const wxBrush& brush) { if (*this == brush) return (*this); Ref(brush); return *this; }
- inline bool operator == (const wxBrush& brush) { return m_refData == brush.m_refData; }
- inline bool operator != (const wxBrush& brush) { return m_refData != brush.m_refData; }
+ inline bool operator == (const wxBrush& brush)
const
{ return m_refData == brush.m_refData; }
+ inline bool operator != (const wxBrush& brush)
const
{ return m_refData != brush.m_refData; }
inline wxColour& GetColour(void) const { return (M_BRUSHDATA ? M_BRUSHDATA->m_colour : wxNullColour); };
inline int GetStyle(void) const { return (M_BRUSHDATA ? M_BRUSHDATA->m_style : 0); };
inline wxColour& GetColour(void) const { return (M_BRUSHDATA ? M_BRUSHDATA->m_colour : wxNullColour); };
inline int GetStyle(void) const { return (M_BRUSHDATA ? M_BRUSHDATA->m_style : 0); };
@@
-70,7
+70,7
@@
public:
bool RealizeResource(void);
WXHANDLE GetResourceHandle(void) ;
bool FreeResource(bool force = FALSE);
bool RealizeResource(void);
WXHANDLE GetResourceHandle(void) ;
bool FreeResource(bool force = FALSE);
- bool IsFree(
void)
;
+ bool IsFree(
) const
;
void Unshare();
};
void Unshare();
};