Various wxMotif fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -587,6 +587,16 @@
|
||||
# endif
|
||||
#endif /* wxGTK && !wxUniv */
|
||||
|
||||
/* wxMotif-specific dependencies */
|
||||
#if defined(__WXMOTIF__) && wxUSE_NOTEBOOK && !wxUSE_TAB_DIALOG
|
||||
# undef wxUSE_TAB_DIALOG
|
||||
# define wxUSE_TAB_DIALOG 1
|
||||
#endif
|
||||
#if defined(__WXMOTIF__) && wxUSE_TOGGLEBTN
|
||||
# undef wxUSE_TOGGLEBTN
|
||||
# define wxUSE_TOGGLEBTN 0
|
||||
#endif
|
||||
|
||||
/* generic controls dependencies */
|
||||
#if !defined(__WXMSW__) || defined(__WXUNIVERSAL__)
|
||||
# if wxUSE_FONTDLG || wxUSE_FILEDLG || wxUSE_CHOICEDLG
|
||||
|
@@ -42,7 +42,7 @@ WXDLLEXPORT_DATA(extern const wxChar*) wxPanelNameStr;
|
||||
class WXDLLEXPORT wxGenericScrolledWindow : public wxPanel,
|
||||
public wxScrollHelper
|
||||
{
|
||||
public:
|
||||
public:
|
||||
wxGenericScrolledWindow() : wxScrollHelper(this) { }
|
||||
wxGenericScrolledWindow(wxWindow *parent,
|
||||
wxWindowID id = -1,
|
||||
|
@@ -203,11 +203,14 @@ protected:
|
||||
bool CanAddEventHandler() const { return m_canAddEventHandler; }
|
||||
void SetCanAddEventHandler(bool flag) { m_canAddEventHandler = flag; }
|
||||
|
||||
public:
|
||||
WXPixmap GetBackingPixmap() const { return m_backingPixmap; }
|
||||
void SetBackingPixmap(WXPixmap pixmap) { m_backingPixmap = pixmap; }
|
||||
int GetPixmapWidth() const { return m_pixmapWidth; }
|
||||
int GetPixmapHeight() const { return m_pixmapHeight; }
|
||||
void SetPixmapWidth(int w) { m_pixmapWidth = w; }
|
||||
void SetPixmapHeight(int h) { m_pixmapHeight = h; }
|
||||
|
||||
public:
|
||||
// Change properties
|
||||
virtual void ChangeFont(bool keepOriginalSize = TRUE); // Change to the current font (often overridden)
|
||||
|
||||
|
@@ -58,6 +58,8 @@ protected:
|
||||
#include "wx/os2/spinctrl.h"
|
||||
#elif defined(__WXGTK__)
|
||||
#include "wx/gtk/spinctrl.h"
|
||||
#elif defined(__WXMOTIF__)
|
||||
#include "wx/generic/spinctlg.h"
|
||||
#elif defined(__WXMAC__)
|
||||
#include "wx/generic/spinctlg.h"
|
||||
#else // Win16 || !Win
|
||||
|
Reference in New Issue
Block a user