// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-
-#ifndef __GTKBITMAPH__
-#define __GTKBITMAPH__
-
-#include "wx/defs.h"
-#include "wx/object.h"
-#include "wx/string.h"
-#include "wx/palette.h"
-#include "wx/gdiobj.h"
+#ifndef _WX_GTK_BITMAP_H_
+#define _WX_GTK_BITMAP_H_
typedef struct _GdkPixbuf GdkPixbuf;
-
class WXDLLEXPORT wxPixelDataBase;
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxMask;
-class WXDLLIMPEXP_CORE wxBitmap;
-class WXDLLIMPEXP_CORE wxImage;
-
//-----------------------------------------------------------------------------
// wxMask
//-----------------------------------------------------------------------------
DECLARE_DYNAMIC_CLASS(wxBitmapHandler)
};
-
-#endif // __GTKBITMAPH__
+#endif // _WX_GTK_BITMAP_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+#ifndef _WX_GTK_BRUSH_H_
+#define _WX_GTK_BRUSH_H_
-#ifndef __GTKBRUSHH__
-#define __GTKBRUSHH__
-
-#include "wx/defs.h"
-#include "wx/object.h"
-#include "wx/string.h"
-#include "wx/gdiobj.h"
-#include "wx/bitmap.h"
-
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxBrush;
+class WXDLLIMPEXP_CORE wxBitmap;
+class WXDLLIMPEXP_CORE wxColour;
//-----------------------------------------------------------------------------
// wxBrush
DECLARE_DYNAMIC_CLASS(wxBrush)
};
-#endif // __GTKBRUSHH__
+#endif // _WX_GTK_BRUSH_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __GTKBUTTONH__
-#define __GTKBUTTONH__
-
-#include "wx/defs.h"
-#include "wx/object.h"
-#include "wx/list.h"
-#include "wx/control.h"
-
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxButton;
-
-//-----------------------------------------------------------------------------
-// global data
-//-----------------------------------------------------------------------------
-
-extern WXDLLIMPEXP_CORE const wxChar wxButtonNameStr[];
+#ifndef _WX_GTK_BUTTON_H_
+#define _WX_GTK_BUTTON_H_
//-----------------------------------------------------------------------------
// wxButton
DECLARE_DYNAMIC_CLASS(wxButton)
};
-#endif // __GTKBUTTONH__
+#endif // _WX_GTK_BUTTON_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-
-#ifndef __GTKCLIPBOARDH__
-#define __GTKCLIPBOARDH__
-
-#if wxUSE_CLIPBOARD
-
-#include "wx/object.h"
-#include "wx/list.h"
-#include "wx/dataobj.h"
-#include "wx/control.h"
-#include "wx/module.h"
+#ifndef _WX_GTK_CLIPBOARD_H_
+#define _WX_GTK_CLIPBOARD_H_
// ----------------------------------------------------------------------------
// wxClipboard
DECLARE_DYNAMIC_CLASS(wxClipboard)
};
-#endif
- // wxUSE_CLIPBOARD
-
-#endif
- // __GTKCLIPBOARDH__
+#endif // _WX_GTK_CLIPBOARD_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __COLORDLG_H__
-#define __COLORDLG_H__
+#ifndef _WX_GTK_COLORDLG_H_
+#define _WX_GTK_COLORDLG_H_
-#include "wx/defs.h"
-#include "wx/gdicmn.h"
#include "wx/dialog.h"
#include "wx/cmndata.h"
-
class WXDLLEXPORT wxColourDialog : public wxDialog
{
public:
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __GTKCOLOURH__
-#define __GTKCOLOURH__
-
-#include "wx/defs.h"
-#include "wx/object.h"
-#include "wx/string.h"
-#include "wx/gdiobj.h"
-#include "wx/palette.h"
-
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxDC;
-class WXDLLIMPEXP_CORE wxPaintDC;
-class WXDLLIMPEXP_CORE wxBitmap;
-class WXDLLIMPEXP_CORE wxWindow;
-
-class WXDLLIMPEXP_CORE wxColour;
+#ifndef _WX_GTK_COLOUR_H_
+#define _WX_GTK_COLOUR_H_
//-----------------------------------------------------------------------------
// wxColour
DECLARE_DYNAMIC_CLASS(wxColour)
};
-#endif // __GTKCOLOURH__
+#endif // _WX_GTK_COLOUR_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __GTKCOMBOBOXH__
-#define __GTKCOMBOBOXH__
-
-#include "wx/defs.h"
-
-#if wxUSE_COMBOBOX
-
-#include "wx/object.h"
-
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxComboBox;
-
-//-----------------------------------------------------------------------------
-// global data
-//-----------------------------------------------------------------------------
-
-extern WXDLLEXPORT_DATA(const wxChar) wxComboBoxNameStr[];
-extern WXDLLIMPEXP_BASE const wxChar* wxEmptyString;
+#ifndef _WX_GTK_COMBOBOX_H_
+#define _WX_GTK_COMBOBOX_H_
//-----------------------------------------------------------------------------
// wxComboBox
DECLARE_EVENT_TABLE()
};
-#endif
-
-#endif
-
- // __GTKCOMBOBOXH__
+#endif // _WX_GTK_COMBOBOX_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __GTKCONTROLH__
-#define __GTKCONTROLH__
-
-#include "wx/defs.h"
-#include "wx/object.h"
-#include "wx/list.h"
-#include "wx/window.h"
-
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxControl;
+#ifndef _WX_GTK_CONTROL_H_
+#define _WX_GTK_CONTROL_H_
typedef struct _GtkLabel GtkLabel;
typedef struct _GtkFrame GtkFrame;
DECLARE_DYNAMIC_CLASS(wxControl)
};
-#endif // __GTKCONTROLH__
+#endif // _WX_GTK_CONTROL_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __GTKCURSORH__
-#define __GTKCURSORH__
+#ifndef _WX_GTK_CURSOR_H_
+#define _WX_GTK_CURSOR_H_
-#include "wx/defs.h"
#include "wx/object.h"
-#include "wx/gdicmn.h"
-#if wxUSE_IMAGE
-#include "wx/image.h"
-#endif
+class WXDLLIMPEXP_CORE wxColour;
+class WXDLLIMPEXP_CORE wxImage;
//-----------------------------------------------------------------------------
// wxCursor
DECLARE_DYNAMIC_CLASS(wxCursor)
};
-#endif // __GTKCURSORH__
+#endif // _WX_GTK_CURSOR_H_
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#ifndef __GTKDNDH__
-#define __GTKDNDH__
+#ifndef _WX_GTK_DND_H_
+#define _WX_GTK_DND_H_
-#if wxUSE_DRAG_AND_DROP
-
-#include "wx/object.h"
-#include "wx/string.h"
-#include "wx/dataobj.h"
-#include "wx/cursor.h"
#include "wx/icon.h"
-#include "wx/gdicmn.h"
-
-//-------------------------------------------------------------------------
-// classes
-//-------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxWindow;
-
-class WXDLLIMPEXP_CORE wxDropTarget;
-class WXDLLIMPEXP_CORE wxTextDropTarget;
-class WXDLLIMPEXP_CORE wxFileDropTarget;
-
-class WXDLLIMPEXP_CORE wxDropSource;
// ----------------------------------------------------------------------------
// macros
const wxIcon& none);
};
-#endif // wxUSE_DRAG_AND_DROP
-
-#endif //__GTKDNDH__
+#endif // _WX_GTK_DND_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __GTKFONTH__
-#define __GTKFONTH__
-
-#include "wx/hash.h"
-
-// ----------------------------------------------------------------------------
-// classes
-// ----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxDC;
-class WXDLLIMPEXP_CORE wxPaintDC;
-class WXDLLIMPEXP_CORE wxWindow;
-
-class WXDLLIMPEXP_CORE wxFont;
+#ifndef _WX_GTK_FONT_H_
+#define _WX_GTK_FONT_H_
// ----------------------------------------------------------------------------
// wxFont
DECLARE_DYNAMIC_CLASS(wxFont)
};
-#endif // __GTKFONTH__
+#endif // _WX_GTK_FONT_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __GTKGAUGEH__
-#define __GTKGAUGEH__
-
-#include "wx/defs.h"
-
-#if wxUSE_GAUGE
-
-#include "wx/object.h"
-#include "wx/list.h"
-#include "wx/control.h"
-
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxGauge;
-
-//-----------------------------------------------------------------------------
-// global data
-//-----------------------------------------------------------------------------
-
-extern WXDLLIMPEXP_CORE const wxChar wxGaugeNameStr[];
+#ifndef _WX_GTK_GAUGE_H_
+#define _WX_GTK_GAUGE_H_
//-----------------------------------------------------------------------------
-// wxGaugeBox
+// wxGauge
//-----------------------------------------------------------------------------
class WXDLLIMPEXP_CORE wxGauge: public wxControl
DECLARE_DYNAMIC_CLASS(wxGauge)
};
-#endif
-
-#endif // __GTKGAUGEH__
+#endif // _WX_GTK_GAUGE_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __MDIH__
-#define __MDIH__
-
-#include "wx/defs.h"
-#include "wx/object.h"
-#include "wx/list.h"
-#include "wx/control.h"
-#include "wx/panel.h"
-#include "wx/frame.h"
-#include "wx/toolbar.h"
-
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxMDIParentFrame;
-class WXDLLIMPEXP_CORE wxMDIClientWindow;
-class WXDLLIMPEXP_CORE wxMDIChildFrame;
+#ifndef _WX_GTK_MDI_H_
+#define _WX_GTK_MDI_H_
-//-----------------------------------------------------------------------------
-// global data
-//-----------------------------------------------------------------------------
-
-extern WXDLLEXPORT_DATA(const wxChar) wxFrameNameStr[];
-extern WXDLLEXPORT_DATA(const wxChar) wxStatusLineNameStr[];
+#include "wx/frame.h"
//-----------------------------------------------------------------------------
// wxMDIParentFrame
DECLARE_DYNAMIC_CLASS(wxMDIClientWindow)
};
-#endif // __MDIH__
+#endif // _WX_GTK_MDI_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __GTKPENH__
-#define __GTKPENH__
+#ifndef _WX_GTK_PEN_H_
+#define _WX_GTK_PEN_H_
-#include "wx/defs.h"
-#include "wx/object.h"
-#include "wx/string.h"
#include "wx/gdiobj.h"
#include "wx/gdicmn.h"
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxPen;
-
typedef gint8 wxGTKDash;
//-----------------------------------------------------------------------------
DECLARE_DYNAMIC_CLASS(wxPen)
};
-#endif // __GTKPENH__
+#endif // _WX_GTK_PEN_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __GTKPOPUPWINH__
-#define __GTKPOPUPWINH__
-
-#include "wx/defs.h"
-#include "wx/panel.h"
-#include "wx/icon.h"
+#ifndef _WX_GTK_POPUPWIN_H_
+#define _WX_GTK_POPUPWIN_H_
//-----------------------------------------------------------------------------
// wxPopUpWindow
DECLARE_DYNAMIC_CLASS(wxPopupWindow)
};
-#endif // __GTKPOPUPWINDOWH__
+#endif // _WX_GTK_POPUPWIN_H_
#ifndef _WX_GTK_REGION_H_
#define _WX_GTK_REGION_H_
-#include "wx/list.h"
#include "wx/gdiobj.h"
#include "wx/gdicmn.h"
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxRegion;
-
//-----------------------------------------------------------------------------
// constants
//-----------------------------------------------------------------------------
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __GTKSPINCTRLH__
-#define __GTKSPINCTRLH__
-
-#include "wx/defs.h"
-
-#if wxUSE_SPINCTRL
-
-#include "wx/control.h"
+#ifndef _WX_GTK_SPINCTRL_H_
+#define _WX_GTK_SPINCTRL_H_
//-----------------------------------------------------------------------------
// wxSpinCtrl
DECLARE_EVENT_TABLE()
};
-#endif
- // wxUSE_SPINCTRL
-
-#endif
- // __GTKSPINCTRLH__
+#endif // _WX_GTK_SPINCTRL_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifndef __GTKSTATICTEXTH__
-#define __GTKSTATICTEXTH__
-
-#include "wx/defs.h"
-#include "wx/object.h"
-#include "wx/list.h"
-#include "wx/control.h"
-
-//-----------------------------------------------------------------------------
-// classes
-//-----------------------------------------------------------------------------
-
-class WXDLLIMPEXP_CORE wxStaticText;
-
-//-----------------------------------------------------------------------------
-// global data
-//-----------------------------------------------------------------------------
+#ifndef _WX_GTK_STATTEXT_H_
+#define _WX_GTK_STATTEXT_H_
//-----------------------------------------------------------------------------
// wxStaticText
DECLARE_DYNAMIC_CLASS(wxStaticText)
};
-#endif // __GTKSTATICTEXTH__
+#endif // _WX_GTK_STATTEXT_H_
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////
-#ifndef _WX_TASKBARPRIV_H_
-#define _WX_TASKBARPRIV_H_
+#ifndef _WX_GTK_TASKBARPRIV_H_
+#define _WX_GTK_TASKBARPRIV_H_
#include "wx/toplevel.h"
-#include "wx/bitmap.h"
#ifdef __WXGTK20__
#include <gtk/gtkversion.h>
#endif // __WXGTK20__
#endif // GTK_CHECK_VERSION(2, 1, 0)
-#endif // _WX_TASKBARPRIV_H_
+#endif // _WX_GTK_TASKBARPRIV_H_
#include "wx/brush.h"
#ifndef WX_PRECOMP
+ #include "wx/bitmap.h"
#include "wx/colour.h"
#endif
-#include <gdk/gdk.h>
-
//-----------------------------------------------------------------------------
// wxBrush
//-----------------------------------------------------------------------------
#ifndef WX_PRECOMP
#include "wx/app.h"
#include "wx/utils.h"
+ #include "wx/image.h"
#endif // WX_PRECOMP
#include "wx/gtk/private.h" //for idle stuff
-#include <gdk/gdk.h>
-#include <gtk/gtk.h>
-
//-----------------------------------------------------------------------------
// wxCursor
//-----------------------------------------------------------------------------
#ifndef WX_PRECOMP
#include "wx/settings.h"
- #include "wx/dcscreen.h"
+ #include "wx/dcclient.h"
+ #include "wx/image.h"
#endif
-#include "gtk/gtk.h"
#include "wx/gtk/win_gtk.h"
#include "wx/gtk/private.h"
-#include <gdk/gdk.h>
-#include <gdk/gdkprivate.h>
-#include <gdk/gdkx.h>
-
//-----------------------------------------------------------------------------
// data
//-----------------------------------------------------------------------------