Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
INCOMPATIBILITIES between wx2.4 and wx2.6
frog-o:
there probbly a better way then deleteing the .cpp files looking at the main soucres of 2.4 He did not do this. I have to use winmege and figure out what mandrave is doing here. I just know that this work at it made seence to me at the time but why he did not do it in the 2.4 i don't know I look into it. If you reading this madrave would you mind inlighten me?
DreadNot:
I've compiled with wx2.6.1.
Problem 1: In the Workspace area I see no workspace/project tree displayed. Its there! I just can't see it! It is invisible!!! I can right-click on items in the tree in their approximate location and a get the popup menus! What a cruel trick to play on me! Who set the color codes for this? :D The Symbol tree appears OK. No Watches tree since I'm not debugging. I'm also compiling wxSmith. The Resources tree seems OK so far for what it is.
NOTE: I'll get memory exceptions out of nowhere if I let the application sit long enough after opening a project. Maybe the thread to display the workspace/project tree is failing somehow!?
Problem 2: I'm assuming that with the notebook version, the Min/Restore/Close triplet buttons for the file are missing. In the old system, I could "sometimes" get them after screwing around with the display (minimizing, then maximizing, etc). Should the notebook have [x] buttons on the file tabs? I can right click in the file area to close.
Problem 3: When I try to minimize the application from a maximized window, the application gives a memory exception and crashes. When I minimize from a non-maximized (restored) window, there is no fault.
Other: I still get the Run... problem (must debug before I can run--run without doing one initial debug causes a memory exception).
So far, these are the only problems I've encountered. Is there anything else specifically I should be looking for?
David Perfors:
A minor problem, perhaps it is a problem at my site.
I don't get the application icon.
DreadNot:
I forgot to mention I'm getting the following on the C::B compile under wx2.6.1:
--- Quote ---
sdk\editormanager.cpp: In constructor `EditorManager::EditorManager(wxWindow*)':
sdk\editormanager.cpp:124: warning: `__comp_ctor' is deprecated (declared at ../../wxWidgets/wxWidgets-2.6.1/include/wx/sizer.h:788)
sdk\editormanager.cpp: In member function `void EditorManager::ActivateNext()':
sdk\editormanager.cpp:443: warning: comparison between signed and unsigned integer expressions
sdk\editormanager.cpp: In member function `int EditorManager::FindPageFromEditor(EditorBase*)':
sdk\editormanager.cpp:644: warning: comparison between signed and unsigned integer expressions
--- End quote ---
I don't know if this affects the problems above.
(Copied from Development->"try compil CodeBlocks-wx2.6.0.cbp")
DreadNot:
Well, I've been trying to track Problem 1 above. My endevor is showing that it is not with the wxSplitterWindow--this seems to work OK. The problem seems to be with the ProjectManager's wxTreeCtrl. But what is strange is that it works OK with the EditorManager's wxTreeCtrl. I've "turned each off" leaving only one on (unsplit) and also swapped which split they are in. Each time, the EditorManager's wxTreeCtrl functions properly while the ProjectManager's wxTreeCtrl doesn't (invisible). I know that the ProjectManager's wxTreeCtrl is set to "Show"--it just doesn't. Even when I don't set the EditorManager's wxTreeCtrl in a split window it shows in the wxSplitterWindow ( as it is still a child to the parent using Show() ).
It must have something to do with how the ProjectManager's wxTreeCtrl is constructed or having items added to it that somehow differs from the EditorManager's wxTreeCtrl.
Could it be that the EditorManager is adding a "sizer" to the notebook?
--- Code: ---Line 124: new wxNotebookSizer(m_pNotebook);
--- End code ---
Should this be done in the Manager class instead? (and obviously not using the depreciated method in wx2.6.1)
Any ideas?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version