Fix build with wxNO_RTTI

Since CreateFromUnknownDC() can return NULL anyway, just always define it,
and have it always return NULL with wxNO_RTTI
See #17765
This commit is contained in:
Paul Cornett
2017-01-01 11:01:49 -08:00
parent caaa08be07
commit 5e906d80d8
2 changed files with 2 additions and 4 deletions

View File

@@ -438,10 +438,8 @@ public:
#endif
#endif
#ifndef wxNO_RTTI
// Create a context from a DC of unknown type, if supported, returns NULL otherwise
static wxGraphicsContext* CreateFromUnknownDC(const wxDC& dc);
#endif
static wxGraphicsContext* CreateFromNative( void * context );