Fix building display sample without wxUSE_DISPLAY

This commit is contained in:
Maarten Bent
2019-11-21 23:40:34 +01:00
parent c4e54c78fd
commit 136a43f033
2 changed files with 3 additions and 1 deletions

View File

@@ -96,6 +96,7 @@ private:
wxDECLARE_EVENT_TABLE();
};
#if wxUSE_DISPLAY
// Client data class for the choice control containing the video modes
class MyVideoModeClientData : public wxClientData
{
@@ -104,6 +105,7 @@ public:
const wxVideoMode mode;
};
#endif // wxUSE_DISPLAY
// ----------------------------------------------------------------------------
// constants