icons fix for unix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Bart A.M. Jourquin
2000-02-01 14:52:25 +00:00
parent c45a4560f8
commit dc8174d2a9
13 changed files with 320 additions and 314 deletions

View File

@@ -1,5 +1,5 @@
/* XPM */ /* XPM */
static char* XpmKEY_xpm[] = { static char* KEY_xpm[] = {
"16 16 7 1", "16 16 7 1",
" c #000000", " c #000000",
"! c #008000", "! c #008000",

View File

@@ -1,5 +1,5 @@
/* XPM */ /* XPM */
static char* XpmKEYF_xpm[] = { static char* KEYF_xpm[] = {
"16 16 7 1", "16 16 7 1",
" c #000000", " c #000000",
"! c #808000", "! c #808000",

View File

@@ -1,5 +1,5 @@
/* XPM */ /* XPM */
static char* TAB[] = { static char* TAB_xpm[] = {
"16 16 7 1", "16 16 7 1",
" c #000000", " c #000000",
"! c #800080", "! c #800080",

View File

@@ -68,7 +68,19 @@ DBTree::DBTree(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const w
p_imageListNormal = new wxImageList(16, 16, TRUE); p_imageListNormal = new wxImageList(16, 16, TRUE);
// should correspond to TreeIc_xxx enum // should correspond to TreeIc_xxx enum
#if defined(__WXMSW__)
#if !defined(__WXMSW__)
#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"
#include "bitmaps/col.xpm"
#endif
p_imageListNormal->Add(wxICON(Logo)); p_imageListNormal->Add(wxICON(Logo));
p_imageListNormal->Add(wxICON(DsnClosed)); p_imageListNormal->Add(wxICON(DsnClosed));
p_imageListNormal->Add(wxICON(DsnOpen)); p_imageListNormal->Add(wxICON(DsnOpen));
@@ -78,16 +90,10 @@ DBTree::DBTree(wxWindow *parent, const wxWindowID id,const wxPoint& pos, const w
p_imageListNormal->Add(wxICON(KEYF)); p_imageListNormal->Add(wxICON(KEYF));
p_imageListNormal->Add(wxICON(DocOpen)); p_imageListNormal->Add(wxICON(DocOpen));
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); SetImageList(p_imageListNormal);
ct_BrowserDB = NULL; ct_BrowserDB = NULL;