Refactored wxStaticBox, and changed wxStaticBox and wxRadioBox border
style from sunken to the default Motif style. Added some convenience macros for checking Motif/Lesstif version. Fixed the bug that caused wxStaticBox size to change when label text was changed. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -20,6 +20,18 @@
|
||||
// Put any private declarations here: native Motif types may be used because
|
||||
// this header is included after Xm/Xm.h
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// convenience macros
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#define wxCHECK_MOTIF_VERSION( major, minor ) \
|
||||
( XmVersion >= (major) * 1000 + (minor) )
|
||||
|
||||
#define wxCHECK_LESSTIF_VERSION( major, minor ) \
|
||||
( LesstifVersion >= (major) * 1000 + (minor) )
|
||||
|
||||
#define wxCHECK_LESSTIF() ( defined(LesstifVersion) && LesstifVersion > 0 )
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// common callbacks
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user