diff --git a/src/os2/toplevel.cpp b/src/os2/toplevel.cpp index 139e96ccfb..0362889309 100644 --- a/src/os2/toplevel.cpp +++ b/src/os2/toplevel.cpp @@ -277,10 +277,6 @@ bool wxTopLevelWindowOS2::CreateDialog( ,nHeight ,SWP_MOVE | SWP_SIZE | SWP_ZORDER | SWP_SHOW ); - if (!rsTitle.IsNull()) - { - ::WinSetWindowText(GetHwnd(), rsTitle.c_str()); - } SubclassWin(m_hWnd); return TRUE; } // end of wxTopLevelWindowOS2::CreateDialog