Support tooltips in wxPropertyGrid if support for tooltips enabled is globally
This commit is contained in:
@@ -52,9 +52,6 @@
|
||||
// 1 if wxRendererNative should be employed
|
||||
#define wxPG_USE_RENDERER_NATIVE 1
|
||||
|
||||
// Enable tooltips
|
||||
#define wxPG_SUPPORT_TOOLTIPS 1
|
||||
|
||||
// width of optional bitmap/image in front of property
|
||||
#define wxPG_CUSTOM_IMAGE_WIDTH 20
|
||||
|
||||
@@ -84,9 +81,6 @@
|
||||
// 1 if wxRendererNative should be employed
|
||||
#define wxPG_USE_RENDERER_NATIVE 1
|
||||
|
||||
// Enable tooltips
|
||||
#define wxPG_SUPPORT_TOOLTIPS 1
|
||||
|
||||
// width of optional bitmap/image in front of property
|
||||
#define wxPG_CUSTOM_IMAGE_WIDTH 20
|
||||
|
||||
@@ -116,9 +110,6 @@
|
||||
// 1 if wxRendererNative should be employed
|
||||
#define wxPG_USE_RENDERER_NATIVE 1
|
||||
|
||||
// Enable tooltips
|
||||
#define wxPG_SUPPORT_TOOLTIPS 1
|
||||
|
||||
// width of optional bitmap/image in front of property
|
||||
#define wxPG_CUSTOM_IMAGE_WIDTH 20
|
||||
|
||||
@@ -148,9 +139,6 @@
|
||||
// 1 if wxRendererNative should be employed
|
||||
#define wxPG_USE_RENDERER_NATIVE 0
|
||||
|
||||
// Enable tooltips
|
||||
#define wxPG_SUPPORT_TOOLTIPS 0
|
||||
|
||||
// width of optional bitmap/image in front of property
|
||||
#define wxPG_CUSTOM_IMAGE_WIDTH 20
|
||||
|
||||
@@ -197,12 +185,6 @@
|
||||
#define wxPG_COMPATIBILITY_1_4 0
|
||||
#endif
|
||||
|
||||
// Need to force disable tooltips?
|
||||
#if !wxUSE_TOOLTIPS
|
||||
#undef wxPG_SUPPORT_TOOLTIPS
|
||||
#define wxPG_SUPPORT_TOOLTIPS 0
|
||||
#endif
|
||||
|
||||
// Set 1 to include advanced properties (wxFontProperty, wxColourProperty, etc.)
|
||||
#ifndef wxPG_INCLUDE_ADVPROPS
|
||||
#define wxPG_INCLUDE_ADVPROPS 1
|
||||
|
Reference in New Issue
Block a user