summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
61314f9)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50460
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- m_hWnd = (WXHWND)CreateStatusWindow(wstyle,
- wxEmptyString,
- GetHwndOf(parent),
- m_windowId);
+ m_hWnd = CreateWindow
+ (
+ STATUSCLASSNAME,
+ _T(""),
+ wstyle,
+ 0, 0, 0, 0,
+ GetHwndOf(parent),
+ (HMENU)m_windowId,
+ wxGetInstance(),
+ NULL
+ );
if ( m_hWnd == 0 )
{
wxLogSysError(_("Failed to create a status bar."));
if ( m_hWnd == 0 )
{
wxLogSysError(_("Failed to create a status bar."));