Added wxART_CLOSE art id.
This id corresponds to the close button bitmap. Currently only wxGTK returns a natively-looking button from here, MSW and OS X versions will be added later. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
39f6b6ba78
commit
b9727751aa
16
art/close.xpm
Normal file
16
art/close.xpm
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/* XPM */
|
||||||
|
static const char * const close_xpm[] = {
|
||||||
|
"12 10 2 1",
|
||||||
|
" c None",
|
||||||
|
"X c black",
|
||||||
|
" ",
|
||||||
|
" XX XX ",
|
||||||
|
" XX XX ",
|
||||||
|
" XXXX ",
|
||||||
|
" XX ",
|
||||||
|
" XXXX ",
|
||||||
|
" XX XX ",
|
||||||
|
" XX XX ",
|
||||||
|
" ",
|
||||||
|
" "};
|
||||||
|
|
@ -101,6 +101,7 @@ typedef wxString wxArtID;
|
|||||||
#define wxART_UNDO wxART_MAKE_ART_ID(wxART_UNDO)
|
#define wxART_UNDO wxART_MAKE_ART_ID(wxART_UNDO)
|
||||||
#define wxART_REDO wxART_MAKE_ART_ID(wxART_REDO)
|
#define wxART_REDO wxART_MAKE_ART_ID(wxART_REDO)
|
||||||
|
|
||||||
|
#define wxART_CLOSE wxART_MAKE_ART_ID(wxART_CLOSE)
|
||||||
#define wxART_QUIT wxART_MAKE_ART_ID(wxART_QUIT)
|
#define wxART_QUIT wxART_MAKE_ART_ID(wxART_QUIT)
|
||||||
|
|
||||||
#define wxART_FIND wxART_MAKE_ART_ID(wxART_FIND)
|
#define wxART_FIND wxART_MAKE_ART_ID(wxART_FIND)
|
||||||
|
@ -108,6 +108,7 @@ typedef wxString wxArtID;
|
|||||||
@li wxART_PASTE
|
@li wxART_PASTE
|
||||||
@li wxART_UNDO
|
@li wxART_UNDO
|
||||||
@li wxART_REDO
|
@li wxART_REDO
|
||||||
|
@li wxART_CLOSE
|
||||||
@li wxART_QUIT
|
@li wxART_QUIT
|
||||||
@li wxART_FIND
|
@li wxART_FIND
|
||||||
@li wxART_FIND_AND_REPLACE
|
@li wxART_FIND_AND_REPLACE
|
||||||
|
@ -117,6 +117,7 @@ protected:
|
|||||||
#include "../../art/new.xpm"
|
#include "../../art/new.xpm"
|
||||||
#include "../../art/undo.xpm"
|
#include "../../art/undo.xpm"
|
||||||
#include "../../art/redo.xpm"
|
#include "../../art/redo.xpm"
|
||||||
|
#include "../../art/close.xpm"
|
||||||
#include "../../art/quit.xpm"
|
#include "../../art/quit.xpm"
|
||||||
#include "../../art/find.xpm"
|
#include "../../art/find.xpm"
|
||||||
#include "../../art/findrepl.xpm"
|
#include "../../art/findrepl.xpm"
|
||||||
@ -175,6 +176,7 @@ wxBitmap wxDefaultArtProvider_CreateBitmap(const wxArtID& id)
|
|||||||
ART(wxART_DELETE, delete)
|
ART(wxART_DELETE, delete)
|
||||||
ART(wxART_UNDO, undo)
|
ART(wxART_UNDO, undo)
|
||||||
ART(wxART_REDO, redo)
|
ART(wxART_REDO, redo)
|
||||||
|
ART(wxART_CLOSE, close)
|
||||||
ART(wxART_QUIT, quit)
|
ART(wxART_QUIT, quit)
|
||||||
ART(wxART_FIND, find)
|
ART(wxART_FIND, find)
|
||||||
ART(wxART_FIND_AND_REPLACE, findrepl)
|
ART(wxART_FIND_AND_REPLACE, findrepl)
|
||||||
|
@ -113,6 +113,7 @@ wxString wxArtIDToStock(const wxArtID& id)
|
|||||||
ART(wxART_UNDO, GTK_STOCK_UNDO)
|
ART(wxART_UNDO, GTK_STOCK_UNDO)
|
||||||
ART(wxART_REDO, GTK_STOCK_REDO)
|
ART(wxART_REDO, GTK_STOCK_REDO)
|
||||||
|
|
||||||
|
ART(wxART_CLOSE, GTK_STOCK_CLOSE)
|
||||||
ART(wxART_QUIT, GTK_STOCK_QUIT)
|
ART(wxART_QUIT, GTK_STOCK_QUIT)
|
||||||
|
|
||||||
ART(wxART_FIND, GTK_STOCK_FIND)
|
ART(wxART_FIND, GTK_STOCK_FIND)
|
||||||
|
Loading…
Reference in New Issue
Block a user