title: message box for spin ctrl event in wxpython
body: <p>Hi all i am learning python and  wxpython ,now i am stuck while  doing spin-ctrl button event,</p>
  
  <p>problem: I have a spin ctrl and few text_ctrl ,spin_ctrl max value is 7 and and it should not set it using max,min or setvalue(). when user goes to 8 or more i want to pop up a message saying that 7 is maximum. or if user enters 8 . i tried to bind it and bring up a message but it comes for each click.:(
  thanks for your help and spending yo time for my issue in advance.
  sorry if any mistakes found.</p>