|
From: The D. <the...@bl...> - 2005-06-29 17:57:54
|
--This one is a bug, maybe, the button gets its colour changed and changed back, but once it's back the greyed state isn't visible anymore, maybe because the system colours are made literal.
FRAME = wx.wxFrame(
wx.wxNull,
-1,
"The Thinger",
wx.wxPoint(0,0),
wx.wxSize(436,332)
)
local PANEL=wx.wxPanel(FRAME,-1)
BT=wx.wxButton(PANEL,6,"6",wx.wxPoint(9,032),wx.wxSize(20,21))
BT:SetForegroundColour(wx.wxColour(140,140,140))
BT:SetForegroundColour(wx.wxNullColour)
BT:Enable(nil)
FRAME:Centre()
FRAME:Show(wx.TRUE)
|