Added a demo to show off all the colours that can be added to

wxTheColourDatabase by the wxPython.lib.colourdb module.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-04-19 23:32:05 +00:00
parent 6057972be4
commit c8ace611be
5 changed files with 138 additions and 1 deletions

View File

@@ -5183,3 +5183,24 @@ def getSmilesBitmap():
def getSmilesImage():
return wxImageFromBitmap(getSmilesBitmap())
#----------------------------------------------------------------------
def getGridBGData():
return cPickle.loads(zlib.decompress(
"x\332\355\230\301\012\2030\014\206\357>Ea\007\007\202\2648e}\012\017^<\354\
\222Nv\032\270\367?mD{pd\222\035\252\006\022\204\300o\373\265\2054M{~\276\\\
\326\345\327\213\371|\215qy\006]nn\326\271\2739\371\032\032\030P*g\011\352P\
\005\217R\037%\013\217P\2434\306\216\003\014\241B\251\215\222\007\037,JE\354\
\350\202\015\3154b\002\233\300%\232\351\321\242\033\321\276D\266S\260xp\262p\
k\3218S]\266\234\035\265`\005\213\007'\0137rr\344\256Y\272\002\215\024\025,\
\036\274m\270\361\035\265k\024,\036\274m\270\221\251\227]\023(X<8Y\270\221y\
\225\237\244\177\037\377\012\026\014\336\3630\345_u\246\226\012\026\017N\035\
n\214\372\222\221\262\211D\257`\211\340\003\324nk\227\233\305\202\025,\036|\
\200w7\366j\024,\036\274Qv[\011\373\177\037\246\025,\030\274g\355\266\266k\
\250\177\012\226\015.\337F\021\023\224" ))
def getGridBGBitmap():
return wxBitmapFromXPMData(getGridBGData())
def getGridBGImage():
return wxImageFromBitmap(getGridBGBitmap())