removed non-const wxWindow::GetFont and GetCursor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -733,14 +733,12 @@ public:
|
|||||||
if ( SetFont(font) )
|
if ( SetFont(font) )
|
||||||
m_hasFont = false;
|
m_hasFont = false;
|
||||||
}
|
}
|
||||||
const wxFont& GetFont() const { return DoGetFont(); }
|
wxFont GetFont() const;
|
||||||
wxFont& GetFont() { return DoGetFont(); }
|
|
||||||
|
|
||||||
// set/retrieve the cursor for this window (SetCursor() returns true
|
// set/retrieve the cursor for this window (SetCursor() returns true
|
||||||
// if the cursor was really changed)
|
// if the cursor was really changed)
|
||||||
virtual bool SetCursor( const wxCursor &cursor );
|
virtual bool SetCursor( const wxCursor &cursor );
|
||||||
const wxCursor& GetCursor() const { return m_cursor; }
|
const wxCursor& GetCursor() const { return m_cursor; }
|
||||||
wxCursor& GetCursor() { return m_cursor; }
|
|
||||||
|
|
||||||
#if wxUSE_CARET
|
#if wxUSE_CARET
|
||||||
// associate a caret with the window
|
// associate a caret with the window
|
||||||
@@ -1226,10 +1224,6 @@ private:
|
|||||||
// the stack of windows which have captured the mouse
|
// the stack of windows which have captured the mouse
|
||||||
static struct WXDLLEXPORT wxWindowNext *ms_winCaptureNext;
|
static struct WXDLLEXPORT wxWindowNext *ms_winCaptureNext;
|
||||||
|
|
||||||
// implementation of both const and non-const versions of GetFont()
|
|
||||||
wxFont& DoGetFont() const;
|
|
||||||
|
|
||||||
|
|
||||||
DECLARE_ABSTRACT_CLASS(wxWindowBase)
|
DECLARE_ABSTRACT_CLASS(wxWindowBase)
|
||||||
DECLARE_NO_COPY_CLASS(wxWindowBase)
|
DECLARE_NO_COPY_CLASS(wxWindowBase)
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
|
Reference in New Issue
Block a user