Get/SetTitle only for wxTopLevelWindow (wxOS2 part).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-11-04 21:13:03 +00:00
parent c032d94e60
commit 743e24aa72
11 changed files with 221 additions and 251 deletions

View File

@@ -574,15 +574,15 @@ void wxWindowOS2::Lower()
::WinSetWindowPos(GetHwnd(), HWND_BOTTOM, 0, 0, 0, 0, SWP_ZORDER | SWP_DEACTIVATE);
} // end of wxWindowOS2::Lower
void wxWindowOS2::SetTitle( const wxString& rTitle )
void wxWindowOS2::SetLabel( const wxString& label )
{
::WinSetWindowText(GetHwnd(), (PSZ)rTitle.c_str());
} // end of wxWindowOS2::SetTitle
::WinSetWindowText(GetHwnd(), (PSZ)label.c_str());
} // end of wxWindowOS2::SetLabel
wxString wxWindowOS2::GetTitle() const
wxString wxWindowOS2::GetLabel() const
{
return wxGetWindowText(GetHWND());
} // end of wxWindowOS2::GetTitle
} // end of wxWindowOS2::GetLabel
void wxWindowOS2::DoCaptureMouse()
{
@@ -593,7 +593,7 @@ void wxWindowOS2::DoCaptureMouse()
::WinSetCapture(HWND_DESKTOP, hWnd);
m_bWinCaptured = true;
}
} // end of wxWindowOS2::GetTitle
} // end of wxWindowOS2::DoCaptureMouse
void wxWindowOS2::DoReleaseMouse()
{