removed extra membersections (patch 1702329)
[wxWidgets.git] / src / os2 / msgdlg.cpp
index 7577e564ec2b1b004786c12f527583d4057cfb5e..695b88ee35699974dd1872383057d630b11fd9fb 100644 (file)
 // For compilers that support precompilation, includes "wx.h".
 #include "wx/wxprec.h"
 
+#include "wx/msgdlg.h"
+
 #ifndef WX_PRECOMP
     #include <stdio.h>
     #include "wx/utils.h"
     #include "wx/dialog.h"
     #include "wx/app.h"
-    #include "wx/msgdlg.h"
     #include "wx/math.h"
 #endif
 
@@ -108,8 +109,8 @@ int wxMessageDialog::ShowModal()
 
     ULONG                           ulAns = ::WinMessageBox( hWnd
                                                             ,hWnd
-                                                            ,(PSZ)m_sMessage.c_str()
-                                                            ,(PSZ)m_sCaption.c_str()
+                                                            ,m_sMessage.c_str()
+                                                            ,m_sCaption.c_str()
                                                             ,0L
                                                             ,ulStyle);
     switch (ulAns)