#include <math.h>
#include <string.h>
+#if wxUSE_IOSTREAMH
#if defined(__WXMSW__) && !defined(__GNUWIN32__)
#include <strstrea.h>
#else
#include <strstream.h>
#endif
+#else
+#include <strstream>
+#endif
#include "wx/window.h"
#include "wx/utils.h"
return;
sm_dialogCancelled = FALSE;
+ TransferToPropertySheet();
m_managedWindow->Close(TRUE);
}
void wxPropertyFormView::OnUpdate(wxCommandEvent& WXUNUSED(event))
{
- TransferToPropertySheet();
+ if (Check())
+ TransferToPropertySheet();
}
void wxPropertyFormView::OnRevert(wxCommandEvent& WXUNUSED(event))