Altered font dialog slightly for Motif; added wxUSE_TOOLTIPS to Motif setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -21,14 +21,9 @@
|
||||
// Use constraints mechanism
|
||||
#define wxUSE_CONFIG 1
|
||||
// Use wxConfig, with CreateConfig in wxApp
|
||||
#define _WX_GOODCOMPILER__
|
||||
// gcc can have problems, but Windows compilers
|
||||
// are generally OK.
|
||||
#define WXWIN_COMPATIBILITY 1
|
||||
// Compatibility with 1.66 API.
|
||||
// Level 0: no backward compatibility, all new features
|
||||
// Level 1: wxDC, OnSize (etc.) compatibility, but
|
||||
// some new features such as event tables
|
||||
#define WXWIN_COMPATIBILITY 0
|
||||
// Minor compatibility with 1.68 API.
|
||||
// 1: on 0: off.
|
||||
|
||||
#define wxUSE_POSTSCRIPT 1
|
||||
// 0 for no PostScript device context
|
||||
@@ -140,6 +135,9 @@
|
||||
#define wxUSE_SERIAL 0
|
||||
// Use serialization
|
||||
|
||||
#define wxUSE_TOOLTIPS 0
|
||||
// Use tooltips
|
||||
|
||||
/*
|
||||
* Finer detail
|
||||
*
|
||||
|
@@ -249,7 +249,7 @@ public:
|
||||
void SetToolTip(const wxString& tip);
|
||||
|
||||
// TODO
|
||||
#if 0
|
||||
#if wxUSE_TOOLTIPS
|
||||
// pointer may be NULL to remove the tooltip
|
||||
void SetToolTip(wxToolTip *tooltip);
|
||||
// get the current tooltip (may return NULL if none)
|
||||
|
@@ -4,7 +4,7 @@
|
||||
#if defined(__WXMSW__)
|
||||
#include "wx/msw/tooltip.h"
|
||||
#elif defined(__WXMOTIF__)
|
||||
#include "wx/motif/tooltip.h"
|
||||
// #include "wx/motif/tooltip.h"
|
||||
#elif defined(__WXGTK__)
|
||||
#include "wx/gtk/tooltip.h"
|
||||
#elif defined(__WXQT__)
|
||||
@@ -12,7 +12,7 @@
|
||||
#elif defined(__WXMAC__)
|
||||
#include "wx/mac/tooltip.h"
|
||||
#elif defined(__WXSTUBS__)
|
||||
#include "wx/stubs/tooltip.h"
|
||||
// #include "wx/stubs/tooltip.h"
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user