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