Number displays in the sample starting from 1, not 0
This is more usual and coincides with the built-in display names under MSW, where they're called "DISPLAY1", "DISPLAY2" etc. No real changes.
This commit is contained in:
@@ -327,9 +327,7 @@ void MyFrame::PopuplateWithDisplayInfo()
|
|||||||
page->SetSizer(sizerTop);
|
page->SetSizer(sizerTop);
|
||||||
page->Layout();
|
page->Layout();
|
||||||
|
|
||||||
m_book->AddPage(page,
|
m_book->AddPage(page, wxString::Format("Display %zu", nDpy + 1));
|
||||||
wxString::Format("Display %lu",
|
|
||||||
(unsigned long)nDpy));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
SetClientSize(m_book->GetBestSize());
|
SetClientSize(m_book->GetBestSize());
|
||||||
|
Reference in New Issue
Block a user