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:
@@ -1,5 +1,5 @@
|
||||
/* XPM */
|
||||
static char* XpmKEY_xpm[] = {
|
||||
static char* KEY_xpm[] = {
|
||||
"16 16 7 1",
|
||||
" c #000000",
|
||||
"! c #008000",
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/* XPM */
|
||||
static char* XpmKEYF_xpm[] = {
|
||||
static char* KEYF_xpm[] = {
|
||||
"16 16 7 1",
|
||||
" c #000000",
|
||||
"! c #808000",
|
||||
|
@@ -1,5 +1,5 @@
|
||||
/* XPM */
|
||||
static char* TAB[] = {
|
||||
static char* TAB_xpm[] = {
|
||||
"16 16 7 1",
|
||||
" c #000000",
|
||||
"! c #800080",
|
||||
|
@@ -68,7 +68,19 @@ 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__)
|
||||
|
||||
#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(DsnClosed));
|
||||
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(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;
|
||||
|
Reference in New Issue
Block a user