GetHandle() added (back)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
1999-05-10 22:29:23 +00:00
parent 739730cae7
commit d7c24517cb
4 changed files with 35 additions and 48 deletions

View File

@@ -165,8 +165,9 @@ public:
// simple accessors
// ----------------
WXHWND GetHWND() const { return GetHandle(); }
void SetHWND(WXHWND hWnd) { m_widget = hWnd; }
WXHWND GetHWND() const { return m_hWnd; }
void SetHWND(WXHWND hWnd) { m_hWnd = hWnd; }
virtual WXWidget GetHandle() const { return GetHWND(); }
bool GetUseCtl3D() const { return m_useCtl3D; }
bool GetTransparentBackground() const { return m_backgroundTransparent; }
@@ -340,6 +341,9 @@ public:
}
protected:
// the window handle
WXHWND m_hWnd;
// the old window proc (we subclass all windows)
WXFARPROC m_oldWndProc;