Ticket #15016 (closed defect: fixed)
Spinners in toolbars broken on OSX
| Reported by: | Auria | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.9.5 |
| Component: | wxOSX-Cocoa | Version: | 2.9-svn |
| Keywords: | Cc: | ||
| Blocked By: | Patch: | yes | |
| Blocking: |
Description
This little sample shows the issue, where theere should be a spinner there is jsut empty space.
Screenshot : http://imageshack.us/photo/my-images/690/toolbaryb.png/
#include "wx/wx.h"
#include "wx/spinctrl.h"
class MyFrame : public wxFrame
{
public:
MyFrame() : wxFrame(NULL, wxID_ANY, wxT("Hello wxWidgets"), wxPoint(50,50), wxSize(800,600))
{
wxToolBar* tb = CreateToolBar(wxBORDER_NONE | wxTB_HORIZONTAL | wxTB_TEXT);
wxButton* btn = new wxButton(tb, wxID_ANY, "BTN");
tb->AddControl(btn, "btn");
wxSpinCtrl* spinner = new wxSpinCtrl(tb, wxID_ANY);
tb->AddControl(spinner, "spinner");
tb->Realize();
}
};
class MyApp: public wxApp
{
wxFrame* m_frame;
public:
bool OnInit()
{
m_frame = new MyFrame();
m_frame->Show();
return true;
}
};
IMPLEMENT_APP(MyApp)
I confirmed this is caused by r72413
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

