[ wxwindows-Bugs-1522358 ] Spinbox on wxMac (carbon) bug

SourceForge.net noreply at sourceforge.net
Fri Jul 14 00:21:21 PDT 2006


Bugs item #1522358, was opened at 2006-07-14 07:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1522358&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxMac specific
Group: Platform specific
Status: Open
Resolution: None
Priority: 5
Submitted By: AUser1 (auser1)
Assigned to: Stefan Csomor (csomor)
Summary: Spinbox on wxMac (carbon) bug

Initial Comment:
Hello,

the following code did not initialise the spinbox to
the target value of 100, it is instead initialised to 0,

 zoomSlider = new
wxSlider(this,ID_ZOOM_SLIDER,100,MIN_IMG_ZOOM,MAX_IMG_ZOOM,
                           
wxDefaultPosition,wxDefaultSize,wxSL_VERTICAL |
wxSL_AUTOTICKS);


but this did:
zoomSlider = new
wxSlider(this,ID_ZOOM_SLIDER,100,MIN_IMG_ZOOM,MAX_IMG_ZOOM,
                           
wxDefaultPosition,wxDefaultSize,wxSL_VERTICAL |
wxSL_AUTOTICKS);
   
    519         //There appears to be a problem with
the slider initialising, workaround
    520         zoomSlider->SetValue(100);


This seems like a bug in wxWidgets 

Compiled using i686-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1
(Apple Computer, Inc. build 5250) i believe i am using
wxMac (carbon)


wx-config --version gives "2.6.3"
 
Thanks.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1522358&group_id=9863




More information about the wx-dev mailing list