Correct 'markup' for GetResourceHandle after recent change in wx/gdiobj.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -72,7 +72,7 @@ public:
|
||||
// Useful helper: create the brush resource
|
||||
//
|
||||
bool RealizeResource(void);
|
||||
WXHANDLE GetResourceHandle(void) ;
|
||||
virtual WXHANDLE GetResourceHandle(void) const;
|
||||
bool FreeResource(bool bForce = false);
|
||||
bool IsFree(void) const;
|
||||
void Unshare(void);
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/////////////////////////////////////////////////////////////////////////////
|
||||
// Name: font.h
|
||||
// Name: wx/os2/font.h
|
||||
// Purpose: wxFont class
|
||||
// Author: David Webster
|
||||
// Modified by:
|
||||
@@ -105,7 +105,7 @@ public:
|
||||
//
|
||||
virtual bool IsFree(void) const;
|
||||
virtual bool RealizeResource(void);
|
||||
virtual WXHANDLE GetResourceHandle(void);
|
||||
virtual WXHANDLE GetResourceHandle(void) const;
|
||||
virtual bool FreeResource(bool bForce = false);
|
||||
|
||||
WXHFONT GetHFONT(void) const;
|
||||
|
@@ -1,5 +1,5 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
// Name: include/wx/os2/gdiimage.h
|
||||
// Name: wx/os2/gdiimage.h
|
||||
// Purpose: wxGDIImage class: base class for wxBitmap, wxIcon, wxCursor
|
||||
// under OS/2
|
||||
// Author: David Webster (adapted from msw version by Vadim Zeitlin)
|
||||
@@ -44,8 +44,8 @@ public:
|
||||
bool IsOk() const
|
||||
{
|
||||
if (m_hHandle == 0)
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
void SetSize( int nW
|
||||
@@ -226,8 +226,8 @@ public:
|
||||
pData->m_uId = uId;
|
||||
}
|
||||
// forward some of base class virtuals to wxGDIImageRefData
|
||||
bool FreeResource(bool bForce = FALSE);
|
||||
virtual WXHANDLE GetResourceHandle();
|
||||
bool FreeResource(bool bForce = false);
|
||||
virtual WXHANDLE GetResourceHandle() const;
|
||||
|
||||
protected:
|
||||
// create the data for the derived class here
|
||||
|
@@ -105,7 +105,7 @@ public:
|
||||
//
|
||||
bool RealizeResource(void);
|
||||
bool FreeResource(bool bForce = false);
|
||||
WXHANDLE GetResourceHandle(void);
|
||||
virtual WXHANDLE GetResourceHandle(void) const;
|
||||
bool IsFree(void) const;
|
||||
void Unshare(void);
|
||||
|
||||
|
Reference in New Issue
Block a user