mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-09 21:40:34 +01:00
⁉️ Not sure if the generated .rst stuff is intended to have
whitespace like this in it or not, so seperating this from the other
commits, so easy to revert if necessary.
20 lines
669 B
Python
20 lines
669 B
Python
|
|
class MyRearrangeDialog(wx.RearrangeDialog):
|
|
|
|
def __init__(self, parent):
|
|
|
|
wx.RearrangeDialog.__init__(self, parent)
|
|
|
|
panel = wx.Panel(self)
|
|
sizer = wx.BoxSizer(wx.HORIZONTAL)
|
|
sizer.Add(wx.StaticText(panel, wx.ID_ANY,
|
|
"Column width in pixels:"))
|
|
sizer.Add(wx.TextCtrl(panel, wx.ID_ANY, ""))
|
|
panel.SetSizer(sizer)
|
|
self.AddExtraControls(panel)
|
|
|
|
|
|
# ... code to update the text control with the currently selected
|
|
# item width and to react to its changes omitted ...
|
|
|