diff --git a/contrib/src/stc/PlatWX.cpp b/contrib/src/stc/PlatWX.cpp index dad221dbd2..d918eab260 100644 --- a/contrib/src/stc/PlatWX.cpp +++ b/contrib/src/stc/PlatWX.cpp @@ -293,6 +293,7 @@ void SurfaceImpl::Init() { // selected into it. So instead of just creating the DC with no bitmap, // go ahead and give it one. InitPixMap(1,1,NULL); +#endif } void SurfaceImpl::Init(SurfaceID hdc_) { diff --git a/src/stc/PlatWX.cpp b/src/stc/PlatWX.cpp index dad221dbd2..d918eab260 100644 --- a/src/stc/PlatWX.cpp +++ b/src/stc/PlatWX.cpp @@ -293,6 +293,7 @@ void SurfaceImpl::Init() { // selected into it. So instead of just creating the DC with no bitmap, // go ahead and give it one. InitPixMap(1,1,NULL); +#endif } void SurfaceImpl::Init(SurfaceID hdc_) {