]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/toplevel.cpp
mac cleanup, pure cgcolor
[wxWidgets.git] / src / os2 / toplevel.cpp
index e076e5019770769b0bef482b373e40476e673031..a22fed882d51735873a19e4aa776d1a0a23e6f28 100644 (file)
@@ -484,8 +484,8 @@ bool wxTopLevelWindowOS2::CreateFrame( const wxString& rsTitle,
      hFrame = ::WinCreateStdWindow( hParent
                                    ,ulStyleFlags          // frame-window style
                                    ,(PULONG)&lFlags       // window style
-                                   ,wxFrameClassName // class name
-                                   ,rsTitle.c_str()  // window title
+                                   ,wxString(wxFrameClassName).c_str() // class name
+                                   ,rsTitle.c_str()       // window title
                                    ,0L                    // default client style
                                    ,NULLHANDLE            // resource in executable file
                                    ,0                     // resource id