Build fixes for various wxUSE_* macros ==0
This commit is contained in:
@@ -422,7 +422,11 @@ bool wxTopLevelWindowBase::Layout()
|
|||||||
|
|
||||||
|
|
||||||
// if we're using sizers or constraints - do use them
|
// if we're using sizers or constraints - do use them
|
||||||
if ( GetSizer() || GetConstraints() )
|
if ( GetSizer()
|
||||||
|
#if wxUSE_CONSTRAINTS
|
||||||
|
|| GetConstraints()
|
||||||
|
#endif
|
||||||
|
)
|
||||||
{
|
{
|
||||||
return wxNonOwnedWindow::Layout();
|
return wxNonOwnedWindow::Layout();
|
||||||
}
|
}
|
||||||
|
@@ -86,6 +86,7 @@
|
|||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#if wxUSE_GUI
|
#if wxUSE_GUI
|
||||||
|
#include "wx/filename.h"
|
||||||
#include "wx/filesys.h"
|
#include "wx/filesys.h"
|
||||||
#include "wx/notebook.h"
|
#include "wx/notebook.h"
|
||||||
#include "wx/statusbr.h"
|
#include "wx/statusbr.h"
|
||||||
|
Reference in New Issue
Block a user