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:
Mark Roszko
2025-09-13 20:12:53 +02:00
parent ca7059b487
commit 1e9025a4dc
24 changed files with 185 additions and 281 deletions
+1 -1
View File
@@ -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";