git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2486
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
dc.SetMapMode( m_mapMode );
dc.SetUserScale( m_xUserScale, m_yUserScale );
dc.SetLogicalOrigin( m_xLogicalOrigin, m_yLogicalOrigin );
dc.SetMapMode( m_mapMode );
dc.SetUserScale( m_xUserScale, m_yUserScale );
dc.SetLogicalOrigin( m_xLogicalOrigin, m_yLogicalOrigin );
- dc.SetAxisOrientation( m_xAxisReversed, m_yAxisReversed );
+ dc.SetAxisOrientation( !m_xAxisReversed, m_yAxisReversed );
}
void MyFrame::OnPaint(wxPaintEvent &WXUNUSED(event) )
}
void MyFrame::OnPaint(wxPaintEvent &WXUNUSED(event) )
if ( dialog.ShowModal() == wxID_OK )
{
if ( dialog.ShowModal() == wxID_OK )
{
- col = data.GetColour();
+ col = dialog.GetColourData().GetColour();