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:
@@ -29,7 +29,7 @@ class TestColourSelect(wxPanel):
|
|||||||
delta = 40
|
delta = 40
|
||||||
|
|
||||||
mID = NewId()
|
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)
|
EVT_BUTTON(self, mID, self.OnClick)
|
||||||
self.y_pos = self.y_pos + delta
|
self.y_pos = self.y_pos + delta
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user