]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/bitmap.h
- Remove wxTopLevelWindowCocoa from the wxRTTI class hierarchy
[wxWidgets.git] / include / wx / bitmap.h
index 1faee6ed359d72122b79aa6b03212534c941839a..52c7e88bb7c382b1f43cfe74313a34e7bb5f5cc0 100644 (file)
@@ -117,8 +117,18 @@ public:
                           const wxPalette *palette = (wxPalette *)NULL) const = 0;
     virtual bool LoadFile(const wxString &name, wxBitmapType type) = 0;
 
+    /*
+       If raw bitmap access is supported (see wx/rawbmp.h), the following
+       methods should be implemented:
+
+       virtual bool GetRawData(wxRawBitmapData *data) = 0;
+       virtual void UngetRawData(wxRawBitmapData *data) = 0;
+     */
+
+#if wxUSE_PALETTE
     virtual wxPalette *GetPalette() const = 0;
     virtual void SetPalette(const wxPalette& palette) = 0;
+#endif // wxUSE_PALETTE
 
 #if WXWIN_COMPATIBILITY
     wxPalette *GetColourMap() const { return GetPalette(); }