More work on wxQt integration, configure

I tried notr to break anything...


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@454 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1998-08-07 20:23:17 +00:00
parent d50b2a58e9
commit b4e76e0d7e
55 changed files with 160 additions and 8 deletions

View File

@@ -27,6 +27,8 @@ typedef wxObject* (*wxAppInitializerFunction) (void); // returning wxApp* won't
#include "wx/msw/app.h"
#elif defined(__WXMOTIF__)
#include "wx/xt/app.h"
#elif defined(__WXQT__)
#include "wx/qt/app.h"
#elif defined(__WXGTK__)
#include "wx/gtk/app.h"
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/bitmap.h"
#elif defined(__WXGTK__)
#include "wx/gtk/bitmap.h"
#elif defined(__WXQT__)
#include "wx/qt/bitmap.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/bmpbuttn.h"
#elif defined(__WXGTK__)
#include "wx/gtk/bmpbuttn.h"
#elif defined(__WXQT__)
#include "wx/qt/bmpbuttn.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/brush.h"
#elif defined(__WXGTK__)
#include "wx/gtk/brush.h"
#elif defined(__WXQT__)
#include "wx/qt/brush.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/button.h"
#elif defined(__WXGTK__)
#include "wx/gtk/button.h"
#elif defined(__WXQT__)
#include "wx/qt/button.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/checkbox.h"
#elif defined(__WXGTK__)
#include "wx/gtk/checkbox.h"
#elif defined(__WXQT__)
#include "wx/qt/checkbox.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/choice.h"
#elif defined(__WXGTK__)
#include "wx/gtk/choice.h"
#elif defined(__WXQT__)
#include "wx/qt/choice.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/clipbrd.h"
#elif defined(__WXGTK__)
#include "wx/gtk/clipbrd.h"
#elif defined(__WXQT__)
#include "wx/gtk/clipbrd.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/generic/colrdlgg.h"
#elif defined(__WXGTK__)
#include "wx/generic/colrdlgg.h"
#elif defined(__WXQT__)
#include "wx/generic/colrdlgg.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/combobox.h"
#elif defined(__WXGTK__)
#include "wx/gtk/combobox.h"
#elif defined(__WXQT__)
#include "wx/qt/combobox.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/control.h"
#elif defined(__WXGTK__)
#include "wx/gtk/control.h"
#elif defined(__WXQT__)
#include "wx/qt/control.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/cursor.h"
#elif defined(__WXGTK__)
#include "wx/gtk/cursor.h"
#elif defined(__WXQT__)
#include "wx/qt/cursor.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/dc.h"
#elif defined(__WXGTK__)
#include "wx/gtk/dc.h"
#elif defined(__WXQT__)
#include "wx/qt/dc.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/dcclient.h"
#elif defined(__WXGTK__)
#include "wx/gtk/dcclient.h"
#elif defined(__WXQT__)
#include "wx/qt/dcclient.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/dcmemory.h"
#elif defined(__WXGTK__)
#include "wx/gtk/dcmemory.h"
#elif defined(__WXQT__)
#include "wx/qt/dcmemory.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/dcscreen.h"
#elif defined(__WXGTK__)
#include "wx/gtk/dcscreen.h"
#elif defined(__WXQT__)
#include "wx/qt/dcscreen.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/dde.h"
#elif defined(__WXGTK__)
#include "wx/gtk/dde.h"
#elif defined(__WXQT__)
#include "wx/qt/dde.h"
#endif
#endif

View File

@@ -70,11 +70,12 @@
// Make sure the environment is set correctly
#if defined(__WXMSW__) && defined(__X__)
# error "Target can't be both X and Windows"
#elif !defined(__WXMOTIF__) && !defined(__WXMSW__) && !defined(__WXGTK__) && !defined(__MAC__) && !defined(__X__)
#error "No Target! Use -D[__WXMOTIF__|__WXGTK__|__WXMSW__|__MAC__]"
#elif !defined(__WXMOTIF__) && !defined(__WXMSW__) && !defined(__WXGTK__) && \
!defined(__MAC__) && !defined(__X__) && !defined(__WXQT__)
#error "No Target! Use -D[__WXMOTIF__|__WXGTK__|__WXMSW__|__MAC__|__QT__]"
#endif
#if defined(__WXMOTIF__) || defined(__WXGTK__)
#if defined(__WXMOTIF__) || defined(__WXGTK__) || defined(__WXQT__)
// Bool is now obsolete, use bool instead
// typedef int Bool;

View File

@@ -7,6 +7,8 @@
#include "wx/xt/dialog.h"
#elif defined(__WXGTK__)
#include "wx/gtk/dialog.h"
#elif defined(__WXQT__)
#include "wx/qt/dialog.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/dirdlg.h"
#elif defined(__WXGTK__)
#include "wx/gtk/dirdlg.h"
#elif defined(__WXQT__)
#include "wx/qt/dirdlg.h"
#endif
#endif

View File

@@ -8,6 +8,8 @@
#elif defined(__WXMOTIF__)
#elif defined(__WXGTK__)
#include "wx/gtk/dnd.h"
#elif defined(__WXQT__)
#include "wx/qt/dnd.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/font.h"
#elif defined(__WXGTK__)
#include "wx/gtk/font.h"
#elif defined(__WXQT__)
#include "wx/qt/font.h"
#endif
#endif

View File

@@ -5,10 +5,16 @@
#include "wx/msw/fontdlg.h"
#elif defined(__WXMOTIF__)
#include "wx/generic/fontdlgg.h"
# define wxFontDialog wxGenericFontDialog
# define classwxFontDialog classwxGenericFontDialog
#elif defined(__WXGTK__)
#include "wx/generic/fontdlgg.h"
# define wxFontDialog wxGenericFontDialog
# define classwxFontDialog classwxGenericFontDialog
#elif defined(__WXQT__)
#include "wx/generic/fontdlgg.h"
# define wxFontDialog wxGenericFontDialog
# define classwxFontDialog classwxGenericFontDialog
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/frame.h"
#elif defined(__WXGTK__)
#include "wx/gtk/frame.h"
#elif defined(__WXQT__)
#include "wx/qt/frame.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/gauge.h"
#elif defined(__WXGTK__)
#include "wx/gtk/gauge.h"
#elif defined(__WXQT__)
#include "wx/qt/gauge.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/gdiobj.h"
#elif defined(__WXGTK__)
#include "wx/gtk/gdiobj.h"
#elif defined(__WXQT__)
#include "wx/qt/gdiobj.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/icon.h"
#elif defined(__WXGTK__)
#include "wx/gtk/icon.h"
#elif defined(__WXQT__)
#include "wx/qt/icon.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/generic/imaglist.h"
#elif defined(__WXGTK__)
#include "wx/generic/imaglist.h"
#elif defined(__WXQT__)
#include "wx/generic/imaglist.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/listbox.h"
#elif defined(__WXGTK__)
#include "wx/gtk/listbox.h"
#elif defined(__WXQT__)
#include "wx/qt/listbox.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/generic/listctrl.h"
#elif defined(__WXGTK__)
#include "wx/generic/listctrl.h"
#elif defined(__WXQT__)
#include "wx/generic/listctrl.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/mdi.h"
#elif defined(__WXGTK__)
#include "wx/gtk/mdi.h"
#elif defined(__WXQT__)
#include "wx/qt/mdi.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/menu.h"
#elif defined(__WXGTK__)
#include "wx/gtk/menu.h"
#elif defined(__WXQT__)
#include "wx/qt/menu.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/generic/msgdlgg.h"
#elif defined(__WXGTK__)
#include "wx/generic/msgdlgg.h"
#elif defined(__WXQT__)
#include "wx/generic/msgdlgg.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#error "wxNotebook not implemented under Motif"
#elif defined(__WXGTK__)
#include "wx/gtk/notebook.h"
#elif defined(__WXQT__)
#include "wx/qt/notebook.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/palette.h"
#elif defined(__WXGTK__)
#include "wx/gtk/palette.h"
#elif defined(__WXQT__)
#include "wx/qt/palette.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/pen.h"
#elif defined(__WXGTK__)
#include "wx/gtk/pen.h"
#elif defined(__WXQT__)
#include "wx/qt/pen.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/radiobox.h"
#elif defined(__WXGTK__)
#include "wx/gtk/radiobox.h"
#elif defined(__WXQT__)
#include "wx/qt/radiobox.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/radiobut.h"
#elif defined(__WXGTK__)
#include "wx/gtk/radiobut.h"
#elif defined(__WXQT__)
#include "wx/qt/radiobut.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/region.h"
#elif defined(__WXGTK__)
#include "wx/gtk/region.h"
#elif defined(__WXQT__)
#include "wx/qt/region.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/scrolbar.h"
#elif defined(__WXGTK__)
#include "wx/gtk/scrolbar.h"
#elif defined(__WXQT__)
#include "wx/qt/scrolbar.h"
#endif
#endif

View File

@@ -110,6 +110,8 @@
#include "wx/xt/settings.h"
#elif defined(__WXGTK__)
#include "wx/gtk/settings.h"
#elif defined(__WXQT__)
#include "wx/qt/settings.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/slider.h"
#elif defined(__WXGTK__)
#include "wx/gtk/slider.h"
#elif defined(__WXQT__)
#include "wx/qt/slider.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/spinbutt.h"
#elif defined(__WXGTK__)
#include "wx/gtk/spinbutt.h"
#elif defined(__WXQT__)
#include "wx/qt/spinbutt.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/statbmp.h"
#elif defined(__WXGTK__)
#include "wx/gtk/statbmp.h"
#elif defined(__WXQT__)
#include "wx/qt/statbmp.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/statbox.h"
#elif defined(__WXGTK__)
#include "wx/gtk/statbox.h"
#elif defined(__WXQT__)
#include "wx/qt/statbox.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/stattext.h"
#elif defined(__WXGTK__)
#include "wx/gtk/stattext.h"
#elif defined(__WXQT__)
#include "wx/qt/stattext.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/textctrl.h"
#elif defined(__WXGTK__)
#include "wx/gtk/textctrl.h"
#elif defined(__WXQT__)
#include "wx/qt/textctrl.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/timer.h"
#elif defined(__WXGTK__)
#include "wx/gtk/timer.h"
#elif defined(__WXQT__)
#include "wx/qt/timer.h"
#endif
#endif

View File

@@ -13,6 +13,8 @@
# define classwxToolBar classwxToolBarMSW
#elif defined(__WXGTK__)
# include "wx/gtk/tbargtk.h"
#elif defined(__WXQT__)
# include "wx/qt/tbargtk.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/generic/treectrl.h"
#elif defined(__WXGTK__)
#include "wx/generic/treectrl.h"
#elif defined(__WXQT__)
#include "wx/generic/treectrl.h"
#endif
#endif

View File

@@ -7,6 +7,8 @@
#include "wx/xt/window.h"
#elif defined(__WXGTK__)
#include "wx/gtk/window.h"
#elif defined(__WXQT__)
#include "wx/qt/window.h"
#endif
#endif

View File

@@ -22,6 +22,8 @@
/* define the system to compile */
#undef __WXGTK__
#undef __WXMOTIF__
#undef __WXQT__
#undef __UNIX__
#undef __LINUX__
#undef __SGI__

View File

@@ -1 +1 @@
include gtk/setup/general/makeapp
include ../install/unix/setup/general/makeapp

View File

@@ -6,13 +6,13 @@ if test ! -d gtk; then
fi
# create "/qt" if not present
if test ! -d gtk; then
mkdir gtk
if test ! -d qt; then
mkdir qt
fi
# create "/motif" if not present
if test ! -d gtk; then
mkdir gtk
if test ! -d motif; then
mkdir motif
fi
# create "/common" if not present

View File

@@ -10,6 +10,51 @@ LIB_MINOR=1
LIB_CPP_SRC=\
\
qt/app.cpp \
qt/bitmap.cpp \
qt/brush.cpp \
qt/button.cpp \
qt/checkbox.cpp \
qt/choice.cpp \
qt/colour.cpp \
qt/control.cpp \
qt/combobox.cpp \
qt/cursor.cpp \
qt/data.cpp \
qt/dc.cpp \
qt/dcclient.cpp \
qt/dcmemory.cpp \
qt/dcscreen.cpp \
qt/dnd.cpp \
qt/dialog.cpp \
qt/filedlg.cpp \
qt/font.cpp \
qt/frame.cpp \
qt/gauge.cpp \
qt/gdiobj.cpp \
qt/icon.cpp \
qt/listbox.cpp \
qt/mdi.cpp \
qt/menu.cpp \
qt/notebook.cpp \
qt/palette.cpp \
qt/pen.cpp \
qt/radiobox.cpp \
qt/radiobut.cpp \
qt/region.cpp \
qt/scrolbar.cpp \
qt/settings.cpp \
qt/slider.cpp \
qt/statbox.cpp \
qt/stattext.cpp \
qt/tbargtk.cpp \
qt/textctrl.cpp \
qt/timer.cpp \
qt/utilsgtk.cpp \
qt/utilsres.cpp \
qt/window.cpp \
\
LIB_C_SRC=\
\