diff --git a/include/wx/graphics.h b/include/wx/graphics.h index 0e5502b803..cf466d8019 100755 --- a/include/wx/graphics.h +++ b/include/wx/graphics.h @@ -234,9 +234,8 @@ public: static wxGraphicsContext* CreateFromNative( void * context ) ; -#ifdef __WXMAC__ static wxGraphicsContext* CreateFromNativeWindow( void * window ) ; -#endif + static wxGraphicsContext* Create( wxWindow* window ) ; wxGraphicsPath * CreatePath();