Forum: Poser Python Scripting


Subject: Display problems with wx.SpinCtrl on Mac OSX?

Cage opened this issue on Mar 07, 2014 · 9 posts


semidieu posted Sat, 08 March 2014 at 5:23 AM

Just tested... and it is working for me...

 

import poser
import wx
class test_dialog(wx.Dialog):
    def init(self):
        wx.Dialog.init(self, None)
       
        sizer = wx.BoxSizer()
        self.SetSizer(sizer)
        self.Fit()
       
        sctrl = wx.SpinCtrl(self, value="64", min=35, max=75, initial = 64)
        sctrl.SetMinSize((150, -1))
        sizer.Add(sctrl)
dlg = test_dialog()
dlg.ShowModal()