Fix compilation without precompiled headers

Originally committed to SVN as r5525.
This commit is contained in:
Thomas Goyne 2011-07-27 17:21:39 +00:00
parent db965eb766
commit 3a4c48d8df
5 changed files with 13 additions and 1 deletions

View File

@ -43,8 +43,10 @@
#ifndef AGI_PRE
#include <wx/checkbox.h>
#include <wx/colour.h>
#include <wx/dialog.h>
#include <wx/listbox.h>
#include <wx/settings.h>
#include <wx/sizer.h>
#include <wx/stattext.h>
#include <wx/textctrl.h>
#endif

View File

@ -24,6 +24,7 @@
#include "selection_controller.h"
#ifndef AGI_PRE
#include <wx/dialog.h>
#include <wx/event.h>
#endif

View File

@ -42,6 +42,8 @@
#ifndef AGI_PRE
#include <wx/checkbox.h>
#include <wx/msgdlg.h>
#include <wx/sizer.h>
#include <wx/settings.h>
#include <wx/stattext.h>
#endif

View File

@ -28,6 +28,7 @@
#ifndef AGI_PRE
#include <wx/dialog.h>
#include <wx/display.h>
#endif
PersistLocation::PersistLocation(wxDialog *dialog, std::string options_prefix)

View File

@ -22,6 +22,12 @@
namespace agi { class OptionValue; }
class wxDialog;
class wxMoveEvent;
class wxIconizeEvent;
#ifndef AGI_PRE
#include <string>
#endif
/// @class PersistLocation
/// @brief Automatically save and restore the location of a dialog