]> git.saurik.com Git - wxWidgets.git/commitdiff
build fixes for WXWIN_COMPATIBILITY_2_6=0
authorPaul Cornett <paulcor@bullseye.com>
Mon, 9 Oct 2006 07:35:36 +0000 (07:35 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Mon, 9 Oct 2006 07:35:36 +0000 (07:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/widgets/bmpcombobox.cpp
src/richtext/richtextformatdlg.cpp

index bf92e5333c9e1578f7572eb3552e5e1675ceab42..3be427a046b1eb0ed9a4a166cbebd068b8f9b3f5 100644 (file)
@@ -769,7 +769,7 @@ wxBitmap BitmapComboBoxWidgetsPage::QueryBitmap(wxString* pStr)
                                        wxT(""),
                                        wxT(""),
                                        wxT("*.*"),
-                                       wxOPEN | wxFILE_MUST_EXIST,
+                                       wxFD_OPEN | wxFD_FILE_MUST_EXIST,
                                        this);
 
     wxBitmap bitmap;
index b21d5e7b09ff5dda6d512b4fe1ed72df6338df46..3fed169c733d4aa45754f85bd19b08c313a573bd 100644 (file)
@@ -18,6 +18,8 @@
 
 #if wxUSE_RICHTEXT
 
+#include "wx/richtext/richtextformatdlg.h"
+
 #ifndef WX_PRECOMP
     #include "wx/listbox.h"
     #include "wx/combobox.h"
@@ -41,7 +43,6 @@
 #include "wx/module.h"
 #include "wx/imaglist.h"
 
-#include "wx/richtext/richtextformatdlg.h"
 #include "wx/richtext/richtextctrl.h"
 #include "wx/richtext/richtextstyles.h"
 
@@ -88,7 +89,7 @@ bool wxRichTextFormattingDialog::Create(long flags, wxWindow* parent, const wxSt
     GetFormattingDialogFactory()->SetSheetStyle(this);
 
     wxPropertySheetDialog::Create(parent, id, title, pos, sz,
-        style | (int)wxPlatform::IfNot(wxWinCE, resizeBorder)
+        style | (int)wxPlatform::IfNot(wxOS_WINDOWS_CE, resizeBorder)
     );
 
     GetFormattingDialogFactory()->CreateButtons(this);