moving common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7796542672
commit
43cf637fac
@ -31,6 +31,11 @@ class WXDLLIMPEXP_CORE wxGDIObject: public wxObject
|
||||
public:
|
||||
bool IsNull() const { return m_refData == NULL; }
|
||||
|
||||
// older version, for backwards compat
|
||||
bool Ok() const { return IsOk(); }
|
||||
|
||||
virtual bool IsOk() const { return (m_refData != NULL) ; }
|
||||
|
||||
#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXPALMOS__)
|
||||
// Creates the resource
|
||||
virtual bool RealizeResource() { return false; }
|
||||
|
Loading…
Reference in New Issue
Block a user