wxX11 compilation fixes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2004-05-08 19:56:40 +00:00
parent 006271980f
commit 11e720751c
2 changed files with 6 additions and 0 deletions

View File

@ -109,6 +109,8 @@ protected:
#include "wx/unix/displayx11.h" #include "wx/unix/displayx11.h"
#elif defined(__WXGTK__) #elif defined(__WXGTK__)
#include "wx/unix/displayx11.h" #include "wx/unix/displayx11.h"
#elif defined(__WXX11__)
#include "wx/unix/displayx11.h"
#elif defined(__WXMAC__) #elif defined(__WXMAC__)
#include "wx/mac/display.h" #include "wx/mac/display.h"
#elif defined(__WXPM__) #elif defined(__WXPM__)

View File

@ -85,6 +85,10 @@ public:
virtual void SetSizeHints(int minW, int minH, virtual void SetSizeHints(int minW, int minH,
int maxW = -1, int maxH = -1, int maxW = -1, int maxH = -1,
int incW = -1, int incH = -1); int incW = -1, int incH = -1);
void SetSizeHints( const wxSize& minSize,
const wxSize& maxSize=wxDefaultSize,
const wxSize& incSize=wxDefaultSize)
{ wxWindowBase::SetSizeHints(minSize, maxSize, incSize); }
#if wxUSE_DRAG_AND_DROP #if wxUSE_DRAG_AND_DROP
virtual void SetDropTarget( wxDropTarget *dropTarget ); virtual void SetDropTarget( wxDropTarget *dropTarget );
#endif // wxUSE_DRAG_AND_DROP #endif // wxUSE_DRAG_AND_DROP