diff --git a/include/wx/motif/bitmap.h b/include/wx/motif/bitmap.h index 785509cb69..d44ba42386 100644 --- a/include/wx/motif/bitmap.h +++ b/include/wx/motif/bitmap.h @@ -136,7 +136,7 @@ public: // Copy constructors wxBitmap(const wxBitmap& bitmap) - { Ref(bitmap); if ( wxTheBitmapList ) wxTheBitmapList->AddBitmap(this); } + { Ref(bitmap); } // Initialize with raw XBM data wxBitmap(const char bits[], int width, int height, int depth = 1); diff --git a/src/motif/joystick.cpp b/src/motif/joystick.cpp index 415165fe6b..b9b6fae1d0 100644 --- a/src/motif/joystick.cpp +++ b/src/motif/joystick.cpp @@ -13,6 +13,9 @@ #pragma implementation "joystick.h" #endif +// Not implemented in wxMotif +#if 0 + #include "wx/joystick.h" IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject) @@ -277,3 +280,5 @@ bool wxJoystick::ReleaseCapture() return FALSE; } +#endif + // 0