]> git.saurik.com Git - wxWidgets.git/commitdiff
fix icons in dbtree.cpp
authorBart A.M. Jourquin <bart.jourquin@fucam.ac.be>
Tue, 1 Feb 2000 09:05:34 +0000 (09:05 +0000)
committerBart A.M. Jourquin <bart.jourquin@fucam.ac.be>
Tue, 1 Feb 2000 09:05:34 +0000 (09:05 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

demos/dbbrowse/dbtree.cpp

index daacec77bfb5bc85a773041f2d737551d8d793b0..1d58d98d78c36018b806030330a8a690c5360bbc 100644 (file)
@@ -67,26 +67,26 @@ DBTree::DBTree(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const w
   p_imageListNormal = new wxImageList(16, 16, TRUE);
   
   // should correspond to TreeIc_xxx enum
-// #if defined(__WXMSW__)
-//   p_imageListNormal->Add(wxICON(Logo));
-//   p_imageListNormal->Add(wxICON(DsnClosed));
-//   p_imageListNormal->Add(wxICON(DsnOpen));
-//   p_imageListNormal->Add(wxICON(TAB));
-//   p_imageListNormal->Add(wxICON(COL));
-//   p_imageListNormal->Add(wxICON(KEY));
-//   p_imageListNormal->Add(wxICON(KEYF));
-//   p_imageListNormal->Add(wxICON(DocOpen));
-//   p_imageListNormal->Add(wxICON(DocOpen));
-// #else
-// #include "bitmaps/logo.xpm"
-// #include "bitmaps/dsnclose.xpm"
-// #include "bitmaps/dsnopen.xpm"
-// #include "bitmaps/tab.xpm"
-// #include "bitmaps/key.xpm"
-// #include "bitmaps/keyf.xpm"
-// #include "bitmaps/d_open.xpm"
-// #include "bitmaps/d_closed.xpm"
-//#endif
+ #if defined(__WXMSW__)
+   p_imageListNormal->Add(wxICON(Logo));
+   p_imageListNormal->Add(wxICON(DsnClosed));
+   p_imageListNormal->Add(wxICON(DsnOpen));
+   p_imageListNormal->Add(wxICON(TAB));
+   p_imageListNormal->Add(wxICON(COL));
+   p_imageListNormal->Add(wxICON(KEY));
+   p_imageListNormal->Add(wxICON(KEYF));
+   p_imageListNormal->Add(wxICON(DocOpen));
+   p_imageListNormal->Add(wxICON(DocOpen));
+ #else
+ #include "bitmaps/logo.xpm"
+ #include "bitmaps/dsnclose.xpm"
+ #include "bitmaps/dsnopen.xpm"
+ #include "bitmaps/tab.xpm"
+ #include "bitmaps/key.xpm"
+ #include "bitmaps/keyf.xpm"
+ #include "bitmaps/d_open.xpm"
+ #include "bitmaps/d_closed.xpm"
+#endif
   
   SetImageList(p_imageListNormal);
   ct_BrowserDB = NULL;