Index: src/src/infopane.h
===================================================================
--- src/src/infopane.h (revision 4400)
+++ src/src/infopane.h (working copy)
@@ -4,12 +4,14 @@
#include <logmanager.h>
+#if wxCHECK_VERSION(2, 8, 0)
#include <wx/aui/auibook.h>
typedef wxAuiNotebook InfoPaneNotebook; // or wxFlatNotebook, or whatever...
+#else
+#include <wx/wxFlatNotebook/wxFlatNotebook.h>
+typedef wxFlatNotebook InfoPaneNotebook;
+#endif
-//#include <wx/wxFlatNotebook/wxFlatNotebook.h>
-//typedef wxFlatNotebook InfoPaneNotebook;
-
class wxWindow;
class wxCommandEvent;
class wxMouseEvent;
So... feel free to change the typedef and try it out :)Tried that with a project of mine -> doesn't work. With wxNotebook all is fine, with wxFlatNotebook it crashes and (in addition) removes parts not being removed by wxNotebook (which is also the reason for the crash btw).
Tried that with a project of mine -> doesn't work. With wxNotebook all is fine, with wxFlatNotebook it crashes and (in addition) removes parts not being removed by wxNotebook (which is also the reason for the crash btw).Huh, funny...? Does wxFlatNotebook require you to call an intialisation function before you can use it, or something?
Fedora Core 6 is supported until the end of 2007 and there will be no update to wx28. So I need wx26 support for this time to be able to build new nighties for FC6.No worries, just do as you like, or like I said... simply remove the file from the build. The application does not use it, it's still work in progress.
Is the code really used? I see that it is enclosed with #if 0/#endif in SetupGUILogging() in main.cppNo, it is not.