A little tweak so the button sizes right
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1c09ae547a
commit
e189b07018
@ -29,7 +29,7 @@ class TestColourSelect(wxPanel):
|
||||
delta = 40
|
||||
|
||||
mID = NewId()
|
||||
wxButton(self, mID, "Get All Colours", wxPoint(self.x_pos, self.y_pos), wxSize(80, 20))
|
||||
wxButton(self, mID, "Get All Colours", wxPoint(self.x_pos, self.y_pos))
|
||||
EVT_BUTTON(self, mID, self.OnClick)
|
||||
self.y_pos = self.y_pos + delta
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user