Move to a fixed enum for page sizes as well as well as holding a list of types accessible in a vector.
Drops some hardcoded size names in places among other bits. Woooo committed pushed at 36000 feet.
This commit is contained in:
@@ -828,7 +828,7 @@ bool PS_PLOTTER::StartPlot( const wxString& aPageNumber )
|
||||
// Also note pageSize is given in mils, not in internal units and must be
|
||||
// converted to internal units.
|
||||
|
||||
wxString pageType = m_pageInfo.GetType();
|
||||
wxString pageType = m_pageInfo.GetTypeAsString();
|
||||
if( m_pageInfo.IsCustom() )
|
||||
pageType = "Custom";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user