]> git.saurik.com Git - wxWidgets.git/commitdiff
OS/2 update
authorDavid Webster <Dave.Webster@bhmi.com>
Sat, 14 Sep 2002 02:10:24 +0000 (02:10 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Sat, 14 Sep 2002 02:10:24 +0000 (02:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/tipdlg.cpp

index 7bd4d9ecc303c7f93f1ab5ae57d52d052d0bb7bd..603f7881a9a2585d5d514d908f75ed31b398e197 100644 (file)
@@ -236,23 +236,23 @@ wxTipDialog::wxTipDialog(wxWindow *parent,
     m_text->SetFont(wxFont(14, wxSWISS, wxNORMAL, wxNORMAL));
 #endif
 
-#if defined(__WXPM__)
+//#if defined(__WXPM__)
     //
     // The only way to get icons into an OS/2 static bitmap control
     //
-    wxBitmap                        vBitmap;
+//    wxBitmap                        vBitmap;
 
-    vBitmap.SetId(wxICON_TIP); // OS/2 specific bitmap method--OS/2 wxBitmaps all have an ID.
-                               // and for StatBmp's under OS/2 it MUST be a valid resource ID.
-
-    wxStaticBitmap*                 bmp = new wxStaticBitmap(this, -1, vBitmap);
-
-#else
+//    vBitmap.SetId(wxICON_TIP); // OS/2 specific bitmap method--OS/2 wxBitmaps all have an ID.
+//                               // and for StatBmp's under OS/2 it MUST be a valid resource ID.
+//
+//    wxStaticBitmap*                 bmp = new wxStaticBitmap(this, -1, vBitmap);
+//
+//#else
 
     wxIcon icon = wxArtProvider::GetIcon(wxART_TIP, wxART_CMN_DIALOG);
     wxStaticBitmap *bmp = new wxStaticBitmap(this, -1, icon);
 
-#endif
+//#endif
 
     // 2) put them in boxes