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:
Włodzimierz Skiba
2006-10-23 11:58:28 +00:00
parent c07bd710bc
commit 17b1d76b4a
8 changed files with 14 additions and 14 deletions

View File

@@ -212,7 +212,7 @@ bool wxBrush::RealizeResource()
return false;
} // end of wxBrush::RealizeResource
WXHANDLE wxBrush::GetResourceHandle()
WXHANDLE wxBrush::GetResourceHandle() const
{
if (!M_BRUSHDATA)
return 0;

View File

@@ -51,7 +51,7 @@ class WXDLLEXPORT wxFontRefData: public wxGDIRefData
public:
wxFontRefData()
{
Init(-1, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, FALSE,
Init(-1, wxFONTFAMILY_DEFAULT, wxFONTSTYLE_NORMAL, wxFONTWEIGHT_NORMAL, false,
wxEmptyString, wxFONTENCODING_DEFAULT);
}
@@ -948,7 +948,7 @@ bool wxFont::FreeResource( bool WXUNUSED(bForce) )
return false;
} // end of wxFont::FreeResource
WXHANDLE wxFont::GetResourceHandle()
WXHANDLE wxFont::GetResourceHandle() const
{
return GetHFONT();
} // end of wxFont::GetResourceHandle

View File

@@ -241,7 +241,7 @@ bool wxGDIImage::FreeResource( bool WXUNUSED(bForce) )
return true;
}
WXHANDLE wxGDIImage::GetResourceHandle()
WXHANDLE wxGDIImage::GetResourceHandle() const
{
return GetHandle();
}

View File

@@ -304,7 +304,7 @@ bool wxPen::RealizeResource()
return false;
} // end of wxPen::RealizeResource
WXHANDLE wxPen::GetResourceHandle()
WXHANDLE wxPen::GetResourceHandle() const
{
if (!M_PENDATA)
return 0;