Adding wxDC::GetHandle for wxOSX-cocoa and wxOSX-carbon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
5ed53483fe
commit
9eefb5c14a
7 changed files with 40 additions and 0 deletions
|
|
@ -283,6 +283,8 @@ public:
|
|||
return NULL;
|
||||
}
|
||||
|
||||
virtual void* GetHandle() const = 0;
|
||||
|
||||
// query dimension, colour deps, resolution
|
||||
|
||||
virtual void DoGetSize(int *width, int *height) const = 0;
|
||||
|
|
@ -787,6 +789,9 @@ public:
|
|||
wxWindow *GetWindow() const
|
||||
{ return m_pimpl->GetWindow(); }
|
||||
|
||||
void *GetHandle() const
|
||||
{ return m_pimpl->GetHandle(); }
|
||||
|
||||
bool IsOk() const
|
||||
{ return m_pimpl && m_pimpl->IsOk(); }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue