Applied patch #1190796 (Further accelerator changes).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis
2005-05-14 17:34:11 +00:00
parent 92199f4cb8
commit e94d504dd6
4 changed files with 24 additions and 16 deletions

View File

@@ -132,9 +132,11 @@ bool wxControl::OS2CreateControl(
zClass = WC_CONTAINER;
dwStyle |= WS_VISIBLE;
wxString sLabel = ::wxPMTextToLabel(rsLabel);
m_hWnd = (WXHWND)::WinCreateWindow( (HWND)GetHwndOf(pParent) // Parent window handle
,(PSZ)zClass // Window class
,(PSZ)rsLabel.c_str() // Initial Text
,(PSZ)sLabel.c_str() // Initial Text
,(ULONG)dwStyle // Style flags
,(LONG)0 // X pos of origin
,(LONG)0 // Y pos of origin