User forums > Help

Two issues with C::B 13.12 SVN with wxWidgets 3.1 on OSX 10.10

<< < (3/4) > >>

Jenna:
The layout is another thing:
in recent versions of wx3 several combinations of alignment flags that does not make sense lead to such layout errors.
I made several fixes for the C::B sources, but the fortran-plugin is not maintained by us and so the fixes are not there.
You can try to open the appropriate xrc-file in the newly compiled C::B with wxSmith, change something irrelevant (and probably change it back) and save the file.
The "new" wxSmith tries to fix these incompatible alignment flags.
The same can be done with wxs-files.
In general: wxEXPAND can not be used together with any sizer-alignment flag, because it dies not make sense and horizontal alignment flags can not be used inside sizers with wxHORIZONTAL-flag (the same is for vertical flags in wxVERTICAL-sizers).

warpino:

--- Quote from: oBFusCATed on June 03, 2015, 01:58:17 am ---1. Probably execute patch -p1 < /path/tofile.diff in the root of the project.
2. If you're using autotools just run make and make install (if you've installed it already).

--- End quote ---

That's what I get:


--- Code: ---patch -p1 < patch.diff
patching file src/sdk/findreplacedlg.cpp
Hunk #1 FAILED at 143.
1 out of 1 hunk FAILED -- saving rejects to file src/sdk/findreplacedlg.cpp.rej
--- End code ---

as I said, I'm quite newbie but looking at the patch:


--- Code: ---@@ -143,18 +143,20 @@ FindReplaceDlg::FindReplaceDlg(wxWindow* parent, const wxString& initial, bool h

--- End code ---

The only line starting like that in my findreplacedlg.cpp is line 56:


--- Code: ---FindReplaceDlg::FindReplaceDlg(wxWindow* parent, const wxString& initial, bool hasSelection,
--- End code ---

am I missing something?

oBFusCATed:
Which is your head revision?
The patch is generated against rev 10316.

warpino:
I think is 10315. What can I do?

oBFusCATed:
You can try to apply the changes manually. The method at line 56 is the correct one.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version