dc.SetAxisOrientation problem

This forum can be used to talk about general design strategies, new ideas and questions in general related to wxWidgets. If you feel your questions doesn't fit anywhere, put it here.
Post Reply
Knows some wx things
Knows some wx things
Posts: 43
Joined: Wed May 18, 2005 12:27 am

dc.SetAxisOrientation problem

Post by theWolf » Tue Aug 09, 2005 5:42 pm


The following works unless I add "dc.SetAxisOrientation(true,true);"
Any Ideas?

I was thinking the result would be a line drawn from the lower left to the upper right. Instead I got a small rectangle (approx 10x10 pixels) under my menu in the upper left. :?

Thank you.

Code: Select all

void CmyPanel::OnPaint(wxPaintEvent& event)
	wxBufferedPaintDC dc(this);



	wxSize sz = GetClientSize();



WxWidgets 2.6.1, .net 2003, Windows2000
Sometimes there's a lot of gravel around the gems. WxWidgets is a gem!

Post Reply