Headers moved a bit.

Minor docs updates.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling 1999-11-22 19:44:25 +00:00
parent ae285bb56a
commit 20e05ffbd3
55 changed files with 249 additions and 253 deletions

View File

@ -1,4 +1,4 @@
\section{Config classes overview}\label{wxconfigoverview}
\section{wxConfig classes overview}\label{wxconfigoverview}
Classes: \helpref{wxConfig}{wxconfigbase}

View File

@ -8,13 +8,7 @@ This chapter contains a selection of topic overviews, first things first:
\input tguide.tex
\input hworld.tex
\input tsamples.tex
Every application need one wxApp class, so we start here:
\input tapp.tex
Not everything in wxWindows is about GUI programming:
\input truntime.tex
\input tstring.tex
\input tunicode.tex
@ -27,9 +21,6 @@ Not everything in wxWindows is about GUI programming:
\input tconfig.tex
\input texpr.tex
\input fs.tex
General overviews concerning windows and events:
\input tevent.tex
\input tstyles.tex
\input tdelwin.tex
@ -38,16 +29,10 @@ General overviews concerning windows and events:
\input tconstr.tex
\input tresourc.tex
\input tscroll.tex
Drawing and device context specific overviews:
\input tbitmap.tex
\input tdc.tex
\input tfont.tex
\input tfontenc.tex
Special controls:
\input tsplittr.tex
\input ttreectl.tex
\input tlistctl.tex
@ -58,9 +43,6 @@ Special controls:
\input ttoolbar.tex
\input tgrid.tex
\input ttips.tex
Advanced topic overviews:
\input tprint.tex
\input tthreads.tex
\input tdnd.tex

View File

@ -1,4 +1,4 @@
\section{Streams in wxWindows overview}\label{wxstreamoverview}
\section{wxStreams overview}\label{wxstreamoverview}
Classes: \helpref{wxStreamBase}{wxstreambase},
\helpref{wxStreamBuffer}{wxstreambuffer}, \helpref{wxInputStream}{wxinputstream},
@ -62,13 +62,13 @@ code:
// Ok, read some bytes ... nb_datas is expressed in bytes.
in_stream.Read(data, nb_datas);
if (in_stream.LastError() != wxStream_NOERROR) {
if (in_stream.LastError() != wxSTREAM_NOERROR) {
// Oh oh, something bad happens.
// For a complete list, look into the documentation at wxStreamBase.
}
// You can also inline all like this.
if (in_stream.Read(data, nb_datas).LastError() != wxStream_NOERROR) {
if (in_stream.Read(data, nb_datas).LastError() != wxSTREAM_NOERROR) {
// Do something.
}

View File

@ -34,10 +34,10 @@ more robust and will undoubtedly save you countless problems (example: under
Win32 a thread can only access GDI objects such as pens, brushes, \&c created by
itself and not by the other threads).
Final note: in the current release of wxWindows, there are no specific
facilities for communicating between the threads. However, the usual
\helpref{ProcessEvent()}{wxevthandlerprocessevent} function may be used for
thread communication too - but you should provide your own synchronisation
mechanism if you use it (e.g. just use a critical section before sending a
message) because there is no built-in synchronisation.
For communication between threads, use
\helpref{wxEvtHandler::AddPendingEvent}{wxevthandleraddpendingprocessevent}
or its short version \helpref{wxPostEvent}{wxpostevent}. These functions
have thread safe implementation so that they can be used as they are for
sending event from one thread to another.

View File

@ -96,7 +96,8 @@ public:
bool Ok() const;
// implementation
// implementation
// --------------
int GetCommand( wxKeyEvent &event );

View File

@ -88,6 +88,7 @@ public:
{ return GetPalette(); };
// implementation
// --------------
void SetHeight( int height );
void SetWidth( int width );
@ -97,8 +98,6 @@ public:
GdkPixmap *GetPixmap() const;
GdkBitmap *GetBitmap() const;
// no data :-)
private:
DECLARE_DYNAMIC_CLASS(wxBitmap)
};

View File

@ -76,7 +76,8 @@ public:
virtual bool Enable(bool enable);
// implementation
// implementation
// --------------
void HasFocus();
void NotFocus();

View File

@ -60,6 +60,7 @@ public:
static wxSize GetDefaultSize();
// implementation
// --------------
void ApplyWidgetStyle();

View File

@ -66,6 +66,8 @@ public:
bool Enable( bool enable );
// implementation
// --------------
void ApplyWidgetStyle();
bool IsOwnGtkWindow( GdkWindow *window );
void OnInternalIdle();

View File

@ -55,15 +55,10 @@ public:
wxString GetString( int n ) const;
void SetString( int n, const wxString& string );
// implementation
protected:
wxList m_clientList; // contains the client data for the items
void DisableEvents();
void EnableEvents();
void AppendCommon( const wxString &item );
void ApplyWidgetStyle();
protected:
virtual int DoAppend(const wxString& item);
virtual void DoSetItemClientData( int n, void* clientData );
@ -75,7 +70,7 @@ protected:
private:
// common part of Create() and DoAppend()
size_t AppendHelper(GtkWidget *menu, const wxString& item);
size_t GtkAppendHelper(GtkWidget *menu, const wxString& item);
// this array is only used for controls with wxCB_SORT style, so only
// allocate it if it's needed (hence using pointer)

View File

@ -25,9 +25,7 @@
class wxCursor: public wxObject
{
DECLARE_DYNAMIC_CLASS(wxCursor)
public:
public:
wxCursor();
wxCursor( int cursorId );
@ -38,9 +36,12 @@ class wxCursor: public wxObject
bool operator != ( const wxCursor& cursor ) const;
bool Ok() const;
// implementation
GdkCursor *GetCursor() const;
// no data :-)
private:
DECLARE_DYNAMIC_CLASS(wxCursor)
};
#endif // __GTKCURSORH__

View File

@ -40,8 +40,6 @@ class wxDC;
class wxDC : public wxDCBase
{
DECLARE_ABSTRACT_CLASS(wxDC)
public:
wxDC();
~wxDC() { }
@ -151,6 +149,9 @@ public:
m_needComputeScaleY; // not yet used
float m_scaleFactor; // wxPSDC wants to have this. Will disappear.
private:
DECLARE_ABSTRACT_CLASS(wxDC)
};
#endif // __GTKDCH__

View File

@ -31,8 +31,6 @@ class wxClientDC;
class wxWindowDC : public wxDC
{
DECLARE_DYNAMIC_CLASS(wxWindowDC)
public:
wxWindowDC();
wxWindowDC( wxWindow *win );
@ -121,6 +119,9 @@ public:
void ComputeScaleAndOrigin();
GdkWindow *GetWindow() { return m_window; }
private:
DECLARE_DYNAMIC_CLASS(wxWindowDC)
};
//-----------------------------------------------------------------------------
@ -129,11 +130,12 @@ public:
class wxPaintDC : public wxWindowDC
{
DECLARE_DYNAMIC_CLASS(wxPaintDC)
public:
wxPaintDC();
wxPaintDC( wxWindow *win );
private:
DECLARE_DYNAMIC_CLASS(wxPaintDC)
};
//-----------------------------------------------------------------------------
@ -142,12 +144,12 @@ public:
class wxClientDC : public wxWindowDC
{
DECLARE_DYNAMIC_CLASS(wxClientDC)
public:
wxClientDC();
wxClientDC( wxWindow *win );
private:
DECLARE_DYNAMIC_CLASS(wxClientDC)
};
#endif // __GTKDCCLIENTH__

View File

@ -30,8 +30,6 @@ class wxMemoryDC;
class wxMemoryDC : public wxWindowDC
{
DECLARE_DYNAMIC_CLASS(wxMemoryDC)
public:
wxMemoryDC();
wxMemoryDC( wxDC *dc ); // Create compatible DC
@ -40,8 +38,10 @@ public:
void DoGetSize( int *width, int *height ) const;
// implementation
wxBitmap m_selected;
private:
DECLARE_DYNAMIC_CLASS(wxMemoryDC)
};
#endif

View File

@ -24,8 +24,6 @@ class wxScreenDC;
class wxScreenDC: public wxPaintDC
{
DECLARE_DYNAMIC_CLASS(wxScreenDC)
public:
wxScreenDC();
~wxScreenDC();
@ -39,6 +37,9 @@ public:
static GdkWindow *sm_overlayWindow;
static int sm_overlayWindowX;
static int sm_overlayWindowY;
private:
DECLARE_DYNAMIC_CLASS(wxScreenDC)
};
#endif

View File

@ -37,8 +37,6 @@ extern const wxChar *wxDialogNameStr;
class wxDialog: public wxDialogBase
{
DECLARE_DYNAMIC_CLASS(wxDialog)
public:
wxDialog() { Init(); }
wxDialog( wxWindow *parent, wxWindowID id,
@ -106,6 +104,7 @@ protected:
private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxDialog)
};
#endif // __GTKDIALOGH__

View File

@ -26,8 +26,6 @@ extern const wxChar *wxFileSelectorDefaultWildcardStr;
class wxFileDialog: public wxDialog
{
DECLARE_DYNAMIC_CLASS(wxFileDialog)
public:
wxFileDialog() { }
@ -56,7 +54,6 @@ public:
int GetFilterIndex() const { return m_filterIndex ; }
protected:
wxString m_message;
long m_dialogStyle;
wxWindow * m_parent;
@ -65,6 +62,9 @@ protected:
wxString m_fileName;
wxString m_wildCard;
int m_filterIndex;
private:
DECLARE_DYNAMIC_CLASS(wxFileDialog)
};
#define wxOPEN 1

View File

@ -41,9 +41,7 @@ extern const char* wxGaugeNameStr;
class wxGauge: public wxControl
{
DECLARE_DYNAMIC_CLASS(wxGauge)
public:
public:
inline wxGauge() { m_rangeMax = 0; m_gaugePos = 0; m_useProgressBar = TRUE; }
inline wxGauge( wxWindow *parent, wxWindowID id, int range,
@ -74,12 +72,15 @@ class wxGauge: public wxControl
inline bool GetProgressBar() const { return m_useProgressBar; }
// implementation
// -------------
void ApplyWidgetStyle();
int m_rangeMax;
int m_gaugePos;
bool m_useProgressBar;
private:
DECLARE_DYNAMIC_CLASS(wxGauge)
};
#endif

View File

@ -19,11 +19,9 @@
class wxGDIObject : public wxObject
{
DECLARE_DYNAMIC_CLASS(wxGDIObject)
public:
inline wxGDIObject() { m_visible = FALSE; };
inline ~wxGDIObject() {};
inline ~wxGDIObject() {}
virtual bool GetVisible() { return m_visible; }
virtual void SetVisible( bool visible ) { m_visible = visible; }
@ -31,6 +29,8 @@ public:
protected:
bool m_visible; /* can a pointer to this object be safely taken?
* - only if created within FindOrCreate... */
private:
DECLARE_DYNAMIC_CLASS(wxGDIObject)
};
#endif

View File

@ -31,17 +31,15 @@ class wxIcon;
class wxIcon: public wxBitmap
{
DECLARE_DYNAMIC_CLASS(wxIcon)
public:
wxIcon();
wxIcon( const wxIcon& icon);
wxIcon( const char **bits, int width=-1, int height=-1 );
// For compatibility with wxMSW where desired size is sometimes required to
// distinguish between multiple icons in a resource.
wxIcon( const wxString& filename, int type = wxBITMAP_TYPE_XPM, int WXUNUSED(desiredWidth)=-1, int WXUNUSED(desiredHeight)=-1 ):
wxIcon( const wxString& filename, int type = wxBITMAP_TYPE_XPM,
int WXUNUSED(desiredWidth)=-1, int WXUNUSED(desiredHeight)=-1 ) :
wxBitmap(filename, type)
{
}
@ -50,6 +48,9 @@ public:
wxIcon& operator = (const wxIcon& icon);
inline bool operator == (const wxIcon& icon) { return m_refData == icon.m_refData; }
inline bool operator != (const wxIcon& icon) { return m_refData != icon.m_refData; }
private:
DECLARE_DYNAMIC_CLASS(wxIcon)
};

View File

@ -35,10 +35,7 @@ typedef char wxDash;
class wxPen: public wxGDIObject
{
DECLARE_DYNAMIC_CLASS(wxPen)
public:
public:
wxPen();
wxPen( const wxColour &colour, int width, int style );
wxPen( const wxPen& pen );
@ -68,7 +65,8 @@ class wxPen: public wxGDIObject
void Unshare();
// no data :-)
private:
DECLARE_DYNAMIC_CLASS(wxPen)
};
#endif // __GTKPENH__

View File

@ -40,10 +40,7 @@ extern const char *wxScrollBarNameStr;
class wxScrollBar: public wxControl
{
DECLARE_DYNAMIC_CLASS(wxScrollBar)
public:
public:
wxScrollBar(void) { m_adjust = (GtkAdjustment *) NULL; m_oldPos = 0.0; };
inline wxScrollBar( wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
@ -70,6 +67,7 @@ class wxScrollBar: public wxControl
bool refresh = TRUE );
// Backward compatibility
// ----------------------
int GetValue(void) const;
void SetValue( int viewStart );
@ -81,12 +79,16 @@ class wxScrollBar: public wxControl
void SetViewLength( int viewLength );
// implementation
// --------------
bool IsOwnGtkWindow( GdkWindow *window );
void ApplyWidgetStyle();
GtkAdjustment *m_adjust;
float m_oldPos;
private:
DECLARE_DYNAMIC_CLASS(wxScrollBar)
};
#endif

View File

@ -96,7 +96,8 @@ public:
bool Ok() const;
// implementation
// implementation
// --------------
int GetCommand( wxKeyEvent &event );

View File

@ -88,6 +88,7 @@ public:
{ return GetPalette(); };
// implementation
// --------------
void SetHeight( int height );
void SetWidth( int width );
@ -97,8 +98,6 @@ public:
GdkPixmap *GetPixmap() const;
GdkBitmap *GetBitmap() const;
// no data :-)
private:
DECLARE_DYNAMIC_CLASS(wxBitmap)
};

View File

@ -76,7 +76,8 @@ public:
virtual bool Enable(bool enable);
// implementation
// implementation
// --------------
void HasFocus();
void NotFocus();

View File

@ -60,6 +60,7 @@ public:
static wxSize GetDefaultSize();
// implementation
// --------------
void ApplyWidgetStyle();

View File

@ -66,6 +66,8 @@ public:
bool Enable( bool enable );
// implementation
// --------------
void ApplyWidgetStyle();
bool IsOwnGtkWindow( GdkWindow *window );
void OnInternalIdle();

View File

@ -55,15 +55,10 @@ public:
wxString GetString( int n ) const;
void SetString( int n, const wxString& string );
// implementation
protected:
wxList m_clientList; // contains the client data for the items
void DisableEvents();
void EnableEvents();
void AppendCommon( const wxString &item );
void ApplyWidgetStyle();
protected:
virtual int DoAppend(const wxString& item);
virtual void DoSetItemClientData( int n, void* clientData );
@ -75,7 +70,7 @@ protected:
private:
// common part of Create() and DoAppend()
size_t AppendHelper(GtkWidget *menu, const wxString& item);
size_t GtkAppendHelper(GtkWidget *menu, const wxString& item);
// this array is only used for controls with wxCB_SORT style, so only
// allocate it if it's needed (hence using pointer)

View File

@ -25,9 +25,7 @@
class wxCursor: public wxObject
{
DECLARE_DYNAMIC_CLASS(wxCursor)
public:
public:
wxCursor();
wxCursor( int cursorId );
@ -38,9 +36,12 @@ class wxCursor: public wxObject
bool operator != ( const wxCursor& cursor ) const;
bool Ok() const;
// implementation
GdkCursor *GetCursor() const;
// no data :-)
private:
DECLARE_DYNAMIC_CLASS(wxCursor)
};
#endif // __GTKCURSORH__

View File

@ -40,8 +40,6 @@ class wxDC;
class wxDC : public wxDCBase
{
DECLARE_ABSTRACT_CLASS(wxDC)
public:
wxDC();
~wxDC() { }
@ -151,6 +149,9 @@ public:
m_needComputeScaleY; // not yet used
float m_scaleFactor; // wxPSDC wants to have this. Will disappear.
private:
DECLARE_ABSTRACT_CLASS(wxDC)
};
#endif // __GTKDCH__

View File

@ -31,8 +31,6 @@ class wxClientDC;
class wxWindowDC : public wxDC
{
DECLARE_DYNAMIC_CLASS(wxWindowDC)
public:
wxWindowDC();
wxWindowDC( wxWindow *win );
@ -121,6 +119,9 @@ public:
void ComputeScaleAndOrigin();
GdkWindow *GetWindow() { return m_window; }
private:
DECLARE_DYNAMIC_CLASS(wxWindowDC)
};
//-----------------------------------------------------------------------------
@ -129,11 +130,12 @@ public:
class wxPaintDC : public wxWindowDC
{
DECLARE_DYNAMIC_CLASS(wxPaintDC)
public:
wxPaintDC();
wxPaintDC( wxWindow *win );
private:
DECLARE_DYNAMIC_CLASS(wxPaintDC)
};
//-----------------------------------------------------------------------------
@ -142,12 +144,12 @@ public:
class wxClientDC : public wxWindowDC
{
DECLARE_DYNAMIC_CLASS(wxClientDC)
public:
wxClientDC();
wxClientDC( wxWindow *win );
private:
DECLARE_DYNAMIC_CLASS(wxClientDC)
};
#endif // __GTKDCCLIENTH__

View File

@ -30,8 +30,6 @@ class wxMemoryDC;
class wxMemoryDC : public wxWindowDC
{
DECLARE_DYNAMIC_CLASS(wxMemoryDC)
public:
wxMemoryDC();
wxMemoryDC( wxDC *dc ); // Create compatible DC
@ -40,8 +38,10 @@ public:
void DoGetSize( int *width, int *height ) const;
// implementation
wxBitmap m_selected;
private:
DECLARE_DYNAMIC_CLASS(wxMemoryDC)
};
#endif

View File

@ -24,8 +24,6 @@ class wxScreenDC;
class wxScreenDC: public wxPaintDC
{
DECLARE_DYNAMIC_CLASS(wxScreenDC)
public:
wxScreenDC();
~wxScreenDC();
@ -39,6 +37,9 @@ public:
static GdkWindow *sm_overlayWindow;
static int sm_overlayWindowX;
static int sm_overlayWindowY;
private:
DECLARE_DYNAMIC_CLASS(wxScreenDC)
};
#endif

View File

@ -37,8 +37,6 @@ extern const wxChar *wxDialogNameStr;
class wxDialog: public wxDialogBase
{
DECLARE_DYNAMIC_CLASS(wxDialog)
public:
wxDialog() { Init(); }
wxDialog( wxWindow *parent, wxWindowID id,
@ -106,6 +104,7 @@ protected:
private:
DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxDialog)
};
#endif // __GTKDIALOGH__

View File

@ -26,8 +26,6 @@ extern const wxChar *wxFileSelectorDefaultWildcardStr;
class wxFileDialog: public wxDialog
{
DECLARE_DYNAMIC_CLASS(wxFileDialog)
public:
wxFileDialog() { }
@ -56,7 +54,6 @@ public:
int GetFilterIndex() const { return m_filterIndex ; }
protected:
wxString m_message;
long m_dialogStyle;
wxWindow * m_parent;
@ -65,6 +62,9 @@ protected:
wxString m_fileName;
wxString m_wildCard;
int m_filterIndex;
private:
DECLARE_DYNAMIC_CLASS(wxFileDialog)
};
#define wxOPEN 1

View File

@ -41,9 +41,7 @@ extern const char* wxGaugeNameStr;
class wxGauge: public wxControl
{
DECLARE_DYNAMIC_CLASS(wxGauge)
public:
public:
inline wxGauge() { m_rangeMax = 0; m_gaugePos = 0; m_useProgressBar = TRUE; }
inline wxGauge( wxWindow *parent, wxWindowID id, int range,
@ -74,12 +72,15 @@ class wxGauge: public wxControl
inline bool GetProgressBar() const { return m_useProgressBar; }
// implementation
// -------------
void ApplyWidgetStyle();
int m_rangeMax;
int m_gaugePos;
bool m_useProgressBar;
private:
DECLARE_DYNAMIC_CLASS(wxGauge)
};
#endif

View File

@ -19,11 +19,9 @@
class wxGDIObject : public wxObject
{
DECLARE_DYNAMIC_CLASS(wxGDIObject)
public:
inline wxGDIObject() { m_visible = FALSE; };
inline ~wxGDIObject() {};
inline ~wxGDIObject() {}
virtual bool GetVisible() { return m_visible; }
virtual void SetVisible( bool visible ) { m_visible = visible; }
@ -31,6 +29,8 @@ public:
protected:
bool m_visible; /* can a pointer to this object be safely taken?
* - only if created within FindOrCreate... */
private:
DECLARE_DYNAMIC_CLASS(wxGDIObject)
};
#endif

View File

@ -31,17 +31,15 @@ class wxIcon;
class wxIcon: public wxBitmap
{
DECLARE_DYNAMIC_CLASS(wxIcon)
public:
wxIcon();
wxIcon( const wxIcon& icon);
wxIcon( const char **bits, int width=-1, int height=-1 );
// For compatibility with wxMSW where desired size is sometimes required to
// distinguish between multiple icons in a resource.
wxIcon( const wxString& filename, int type = wxBITMAP_TYPE_XPM, int WXUNUSED(desiredWidth)=-1, int WXUNUSED(desiredHeight)=-1 ):
wxIcon( const wxString& filename, int type = wxBITMAP_TYPE_XPM,
int WXUNUSED(desiredWidth)=-1, int WXUNUSED(desiredHeight)=-1 ) :
wxBitmap(filename, type)
{
}
@ -50,6 +48,9 @@ public:
wxIcon& operator = (const wxIcon& icon);
inline bool operator == (const wxIcon& icon) { return m_refData == icon.m_refData; }
inline bool operator != (const wxIcon& icon) { return m_refData != icon.m_refData; }
private:
DECLARE_DYNAMIC_CLASS(wxIcon)
};

View File

@ -35,10 +35,7 @@ typedef char wxDash;
class wxPen: public wxGDIObject
{
DECLARE_DYNAMIC_CLASS(wxPen)
public:
public:
wxPen();
wxPen( const wxColour &colour, int width, int style );
wxPen( const wxPen& pen );
@ -68,7 +65,8 @@ class wxPen: public wxGDIObject
void Unshare();
// no data :-)
private:
DECLARE_DYNAMIC_CLASS(wxPen)
};
#endif // __GTKPENH__

View File

@ -40,10 +40,7 @@ extern const char *wxScrollBarNameStr;
class wxScrollBar: public wxControl
{
DECLARE_DYNAMIC_CLASS(wxScrollBar)
public:
public:
wxScrollBar(void) { m_adjust = (GtkAdjustment *) NULL; m_oldPos = 0.0; };
inline wxScrollBar( wxWindow *parent, wxWindowID id,
const wxPoint& pos = wxDefaultPosition,
@ -70,6 +67,7 @@ class wxScrollBar: public wxControl
bool refresh = TRUE );
// Backward compatibility
// ----------------------
int GetValue(void) const;
void SetValue( int viewStart );
@ -81,12 +79,16 @@ class wxScrollBar: public wxControl
void SetViewLength( int viewLength );
// implementation
// --------------
bool IsOwnGtkWindow( GdkWindow *window );
void ApplyWidgetStyle();
GtkAdjustment *m_adjust;
float m_oldPos;
private:
DECLARE_DYNAMIC_CLASS(wxScrollBar)
};
#endif

View File

@ -45,6 +45,10 @@ class WXDLLEXPORT wxMenu;
class WXDLLEXPORT wxMenuItemBase : public wxObject
{
public:
// some compilers need a default constructor here, do not use
wxMenuItemBase()
{ wxFAIL_MSG( wxT("illegal call") ); }
// creation
static wxMenuItem *New(wxMenu *parentMenu = (wxMenu *)NULL,
int id = wxID_SEPARATOR,

View File

@ -131,7 +131,7 @@ void MyThread::WriteText(const wxString& text)
wxMutexGuiEnter();
msg << wxTime().FormatTime() << ": " << text;
msg << text;
m_frame->WriteText(msg);

View File

@ -1277,12 +1277,12 @@ wxImage::wxImage( const wxBitmap &bitmap )
#ifdef __WXGTK__
#include "gtk/gtk.h"
#include "gdk/gdk.h"
#include "gdk/gdkx.h"
#include <gtk/gtk.h>
#include <gdk/gdk.h>
#include <gdk/gdkx.h>
#if (GTK_MINOR_VERSION > 0)
#include "gdk/gdkrgb.h"
#include <gdk/gdkrgb.h>
#endif
wxBitmap wxImage::ConvertToBitmap() const

View File

@ -32,11 +32,11 @@
#include "wx/thread.h"
#endif
#include "unistd.h"
#include <unistd.h>
#include "glib.h"
#include "gdk/gdk.h"
#include "gtk/gtk.h"
#include <glib.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include "wx/gtk/win_gtk.h"

View File

@ -16,9 +16,9 @@
#include "wx/filefn.h"
#include "wx/image.h"
#include "gdk/gdk.h"
#include "gdk/gdkprivate.h"
#include "gdk/gdkx.h"
#include <gdk/gdk.h>
#include <gdk/gdkprivate.h>
#include <gdk/gdkx.h>
//-----------------------------------------------------------------------------
// wxMask

View File

@ -15,8 +15,8 @@
#if wxUSE_BMPBUTTON
#include "gdk/gdk.h"
#include "gtk/gtk.h"
#include <gdk/gdk.h>
#include <gtk/gtk.h>
//-----------------------------------------------------------------------------
// classes

View File

@ -13,7 +13,7 @@
#include "wx/brush.h"
#include "gdk/gdk.h"
#include <gdk/gdk.h>
//-----------------------------------------------------------------------------
// wxBrush

View File

@ -13,8 +13,8 @@
#include "wx/button.h"
#include "gdk/gdk.h"
#include "gtk/gtk.h"
#include <gdk/gdk.h>
#include <gtk/gtk.h>
//-----------------------------------------------------------------------------
// classes

View File

@ -16,8 +16,8 @@
#if wxUSE_CHECKBOX
#include "gdk/gdk.h"
#include "gtk/gtk.h"
#include <gdk/gdk.h>
#include <gtk/gtk.h>
//-----------------------------------------------------------------------------
// idle system

View File

@ -32,11 +32,11 @@
#include "wx/thread.h"
#endif
#include "unistd.h"
#include <unistd.h>
#include "glib.h"
#include "gdk/gdk.h"
#include "gtk/gtk.h"
#include <glib.h>
#include <gdk/gdk.h>
#include <gtk/gtk.h>
#include "wx/gtk/win_gtk.h"

View File

@ -16,9 +16,9 @@
#include "wx/filefn.h"
#include "wx/image.h"
#include "gdk/gdk.h"
#include "gdk/gdkprivate.h"
#include "gdk/gdkx.h"
#include <gdk/gdk.h>
#include <gdk/gdkprivate.h>
#include <gdk/gdkx.h>
//-----------------------------------------------------------------------------
// wxMask

View File

@ -15,8 +15,8 @@
#if wxUSE_BMPBUTTON
#include "gdk/gdk.h"
#include "gtk/gtk.h"
#include <gdk/gdk.h>
#include <gtk/gtk.h>
//-----------------------------------------------------------------------------
// classes

View File

@ -13,7 +13,7 @@
#include "wx/brush.h"
#include "gdk/gdk.h"
#include <gdk/gdk.h>
//-----------------------------------------------------------------------------
// wxBrush

View File

@ -13,8 +13,8 @@
#include "wx/button.h"
#include "gdk/gdk.h"
#include "gtk/gtk.h"
#include <gdk/gdk.h>
#include <gtk/gtk.h>
//-----------------------------------------------------------------------------
// classes

View File

@ -16,8 +16,8 @@
#if wxUSE_CHECKBOX
#include "gdk/gdk.h"
#include "gtk/gtk.h"
#include <gdk/gdk.h>
#include <gtk/gtk.h>
//-----------------------------------------------------------------------------
// idle system