]> git.saurik.com Git - wxWidgets.git/commitdiff
use fontdlgg.cpp under wxUniv/GTK
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 4 Jul 2001 18:27:43 +0000 (18:27 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 4 Jul 2001 18:27:43 +0000 (18:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

distrib/msw/tmake/filelist.txt
include/wx/fontdlg.h
src/generic/fontdlgg.cpp
src/gtk/files.lst
src/gtk1/files.lst

index b27071eac4e94b56d9fceb9ca1e5f05be62abc36..88e85ad84c8744396217bd4201f0eabb54581610 100644 (file)
@@ -62,7 +62,7 @@ dcpsg.cpp     Generic NotMSW
 dirctrlg.cpp   Generic
 dirdlgg.cpp    Generic NotWin32,NotOS2
 dragimgg.cpp   Generic NotOS2
 dirctrlg.cpp   Generic
 dirdlgg.cpp    Generic NotWin32,NotOS2
 dragimgg.cpp   Generic NotOS2
-fontdlgg.cpp   Generic Generic,NotGTK,NotOS2
+fontdlgg.cpp   Generic Generic,NotOS2
 filedlgg.cpp   Generic NotMSW,NotX,NotOS2
 grid.cpp       Generic
 gridctrl.cpp   Generic
 filedlgg.cpp   Generic NotMSW,NotX,NotOS2
 grid.cpp       Generic
 gridctrl.cpp   Generic
@@ -375,7 +375,8 @@ brush.cpp   GTK     LowLevel
 button.cpp     GTK
 checkbox.cpp   GTK
 checklst.cpp   GTK
 button.cpp     GTK
 checkbox.cpp   GTK
 checklst.cpp   GTK
-choice.cpp     GTK
+# FIXME: remove LowLevel from choice!
+choice.cpp     GTK     LowLevel
 clipbrd.cpp    GTK     LowLevel
 colour.cpp     GTK     LowLevel
 combobox.cpp   GTK
 clipbrd.cpp    GTK     LowLevel
 colour.cpp     GTK     LowLevel
 combobox.cpp   GTK
index a7fe76f87d8b1e87e8b3d16b47720267a898b6f8..88205f033f68f29744c8d942f71b8792e55a60aa 100644 (file)
@@ -3,28 +3,16 @@
 
 #if wxUSE_FONTDLG
 
 
 #if wxUSE_FONTDLG
 
-#if defined(__WXMSW__)
-#include "wx/msw/fontdlg.h"
-#elif defined(__WXMOTIF__)
-#include "wx/generic/fontdlgg.h"
+#if defined(__WXUNIVERSAL__) || defined(__WXMOTIF__) || defined(__WXMAC__)
+#   include "wx/generic/fontdlgg.h"
 #   define wxFontDialog wxGenericFontDialog
 #   define sm_classwxFontDialog sm_classwxGenericFontDialog
 #   define wxFontDialog wxGenericFontDialog
 #   define sm_classwxFontDialog sm_classwxGenericFontDialog
+#elif defined(__WXMSW__)
+#   include "wx/msw/fontdlg.h"
 #elif defined(__WXGTK__)
 #elif defined(__WXGTK__)
-#include "wx/gtk/fontdlg.h"
-#elif defined(__WXQT__)
-#include "wx/generic/fontdlgg.h"
-#   define wxFontDialog wxGenericFontDialog
-#   define sm_classwxFontDialog sm_classwxGenericFontDialog
-#elif defined(__WXMAC__)
-#include "wx/generic/fontdlgg.h"
-#   define wxFontDialog wxGenericFontDialog
-#   define sm_classwxFontDialog sm_classwxGenericFontDialog
+#   include "wx/gtk/fontdlg.h"
 #elif defined(__WXPM__)
 #elif defined(__WXPM__)
-#include "wx/os2/fontdlg.h"
-#elif defined(__WXSTUBS__)
-#include "wx/generic/fontdlgg.h"
-#   define wxFontDialog wxGenericFontDialog
-#   define sm_classwxFontDialog sm_classwxGenericFontDialog
+#   include "wx/os2/fontdlg.h"
 #endif
 
 #endif // wxUSE_FONTDLG
 #endif
 
 #endif // wxUSE_FONTDLG
index 90de224fe031c43d18445dc84030df38178a4ec0..91ad7da07bd6cb110540dfa953e4a69b0e313aeb 100644 (file)
@@ -20,6 +20,8 @@
 #pragma hdrstop
 #endif
 
 #pragma hdrstop
 #endif
 
+#if wxUSE_FONTDLG && (!defined(__WXGTK__) || defined(__WXUNIVERSAL__))
+
 #ifndef WX_PRECOMP
 #include <stdio.h>
 #include "wx/utils.h"
 #ifndef WX_PRECOMP
 #include <stdio.h>
 #include "wx/utils.h"
@@ -34,8 +36,6 @@
 #include "wx/intl.h"
 #endif
 
 #include "wx/intl.h"
 #endif
 
-#if wxUSE_FONTDLG
-
 #include <string.h>
 #include <stdlib.h>
 
 #include <string.h>
 #include <stdlib.h>
 
index b7dd26828078a48aa03f763993fd659ba4923abf..763d5adfb10427a8b23b90f7cd15b947b906e12a 100644 (file)
@@ -1,4 +1,4 @@
-# This file was automatically generated by tmake at 21:37, 2001/07/03
+# This file was automatically generated by tmake at 20:23, 2001/07/04
 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
 ALL_SOURCES = \
                generic/accel.cpp \
 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
 ALL_SOURCES = \
                generic/accel.cpp \
@@ -12,6 +12,7 @@ ALL_SOURCES = \
                generic/dirdlgg.cpp \
                generic/dragimgg.cpp \
                generic/filedlgg.cpp \
                generic/dirdlgg.cpp \
                generic/dragimgg.cpp \
                generic/filedlgg.cpp \
+               generic/fontdlgg.cpp \
                generic/grid.cpp \
                generic/gridctrl.cpp \
                generic/gridsel.cpp \
                generic/grid.cpp \
                generic/gridctrl.cpp \
                generic/gridsel.cpp \
@@ -832,6 +833,7 @@ GENERICOBJS = \
                dirdlgg.o \
                dragimgg.o \
                filedlgg.o \
                dirdlgg.o \
                dragimgg.o \
                filedlgg.o \
+               fontdlgg.o \
                grid.o \
                gridctrl.o \
                gridsel.o \
                grid.o \
                gridctrl.o \
                gridsel.o \
@@ -879,6 +881,7 @@ GENERICDEPS = \
                dirdlgg.d \
                dragimgg.d \
                filedlgg.d \
                dirdlgg.d \
                dragimgg.d \
                filedlgg.d \
+               fontdlgg.d \
                grid.d \
                gridctrl.d \
                gridsel.d \
                grid.d \
                gridctrl.d \
                gridsel.d \
@@ -1061,7 +1064,6 @@ GUI_LOWLEVEL_OBJS = \
                pen.o \
                region.o \
                settings.o \
                pen.o \
                region.o \
                settings.o \
-               tbargtk.o \
                timer.o \
                tooltip.o \
                utilsgtk.o \
                timer.o \
                tooltip.o \
                utilsgtk.o \
@@ -1093,7 +1095,6 @@ GUI_LOWLEVEL_DEPS = \
                pen.d \
                region.d \
                settings.d \
                pen.d \
                region.d \
                settings.d \
-               tbargtk.d \
                timer.d \
                tooltip.d \
                utilsgtk.d \
                timer.d \
                tooltip.d \
                utilsgtk.d \
index b7dd26828078a48aa03f763993fd659ba4923abf..763d5adfb10427a8b23b90f7cd15b947b906e12a 100644 (file)
@@ -1,4 +1,4 @@
-# This file was automatically generated by tmake at 21:37, 2001/07/03
+# This file was automatically generated by tmake at 20:23, 2001/07/04
 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
 ALL_SOURCES = \
                generic/accel.cpp \
 # DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE GTK.T!
 ALL_SOURCES = \
                generic/accel.cpp \
@@ -12,6 +12,7 @@ ALL_SOURCES = \
                generic/dirdlgg.cpp \
                generic/dragimgg.cpp \
                generic/filedlgg.cpp \
                generic/dirdlgg.cpp \
                generic/dragimgg.cpp \
                generic/filedlgg.cpp \
+               generic/fontdlgg.cpp \
                generic/grid.cpp \
                generic/gridctrl.cpp \
                generic/gridsel.cpp \
                generic/grid.cpp \
                generic/gridctrl.cpp \
                generic/gridsel.cpp \
@@ -832,6 +833,7 @@ GENERICOBJS = \
                dirdlgg.o \
                dragimgg.o \
                filedlgg.o \
                dirdlgg.o \
                dragimgg.o \
                filedlgg.o \
+               fontdlgg.o \
                grid.o \
                gridctrl.o \
                gridsel.o \
                grid.o \
                gridctrl.o \
                gridsel.o \
@@ -879,6 +881,7 @@ GENERICDEPS = \
                dirdlgg.d \
                dragimgg.d \
                filedlgg.d \
                dirdlgg.d \
                dragimgg.d \
                filedlgg.d \
+               fontdlgg.d \
                grid.d \
                gridctrl.d \
                gridsel.d \
                grid.d \
                gridctrl.d \
                gridsel.d \
@@ -1061,7 +1064,6 @@ GUI_LOWLEVEL_OBJS = \
                pen.o \
                region.o \
                settings.o \
                pen.o \
                region.o \
                settings.o \
-               tbargtk.o \
                timer.o \
                tooltip.o \
                utilsgtk.o \
                timer.o \
                tooltip.o \
                utilsgtk.o \
@@ -1093,7 +1095,6 @@ GUI_LOWLEVEL_DEPS = \
                pen.d \
                region.d \
                settings.d \
                pen.d \
                region.d \
                settings.d \
-               tbargtk.d \
                timer.d \
                tooltip.d \
                utilsgtk.d \
                timer.d \
                tooltip.d \
                utilsgtk.d \