Update of /cvsroot/mahogany/M/src/wx/generic
In directory usw-pr-cvs1:/tmp/cvs-serv12906/src/wx/generic

Modified Files:
        persctrl.cpp 
Log Message:
compilation fixes for WXWIN_COMPATIBLITY_2_2 == 0

Index: persctrl.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/wx/generic/persctrl.cpp,v
retrieving revision 1.75
retrieving revision 1.76
diff -b -u -2 -r1.75 -r1.76
--- persctrl.cpp        14 Sep 2002 17:02:29 -0000      1.75
+++ persctrl.cpp        6 Nov 2002 00:28:25 -0000       1.76
@@ -1503,6 +1503,10 @@
 #ifdef USE_ICON
     int which = style & wxICON_MASK;
-    wxStaticBitmap *icon = new wxStaticBitmap(this, -1,
-                                              wxTheApp->GetStdIcon(which));
+    wxStaticBitmap *icon = new wxStaticBitmap
+                               (
+                                this,
+                                -1,
+                                ((wxMApp *)mApplication)->GetStdIcon(which)
+                               );
     const int iconSize = icon->GetIcon().GetWidth();
 #else



-------------------------------------------------------
This sf.net email is sponsored by: See the NEW Palm 
Tungsten T handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to