Search found 19 matches

by faradayent
Wed Apr 07, 2010 3:04 pm
Forum: C++ Development
Topic: DrawBitmap doesn't work for printing with OnPrintPage?
Replies: 3
Views: 604

Yes, Ok returns true. The same code works in the other section, just not when printing is involved.
by faradayent
Wed Apr 07, 2010 4:50 am
Forum: C++ Development
Topic: DrawBitmap doesn't work for printing with OnPrintPage?
Replies: 3
Views: 604

DrawBitmap doesn't work for printing with OnPrintPage?

Probably overlooking something simple, but... Is there a problem with using DrawBitmap when printing? I can't get it to display an image. I've taken the "Printing" sample and modified it to draw bitmaps. The same bitmap displays okay on the screen from the MyCanvas::OnDraw() function, but does not a...
by faradayent
Sat Dec 12, 2009 3:28 am
Forum: C++ Development
Topic: Can't SetFont() in wxSpinCtrlDouble (2.9.0)
Replies: 1
Views: 446

Can't SetFont() in wxSpinCtrlDouble (2.9.0)

Hi, Thanks for the great work in 2.9. I can't figure out how to set the font in the new wxSpinCtrlDouble. It works with wxSpinCtrl, but not the double version: SpinVDegrees = new wxSpinCtrlDouble( panel, ID_SPINCTRL_VDEGREES, wxT("0"), wxDefaultPosition, wxSize(150,30), wxSP_ARROW_KEYS, -10.0, 90.0,...
by faradayent
Sat Dec 12, 2009 3:20 am
Forum: C++ Development
Topic: 2.9.x Bug: wxSpinCtrlDouble does not use wxSpinEvent
Replies: 3
Views: 706

These worked for me:

EVT_SPINCTRLDOUBLE(ID_SPINCTRL_HRATE,CustomDialog::HRateModified)

void CustomDialog::HRateModified(wxSpinDoubleEvent& event)