Page 1 of 1

wxIFM Patches

Posted: Sun Dec 04, 2005 10:14 pm
by SnakeChomp
This thread to contains a consolidated list of officially supported patches for wxIFM. If you have made a modification, bugfix, or feature addition to your copy of wxIFM, you can share the patch for those changes here. Contributed patches may become officially supported.

All patches are against 1.0.5. All patches listed below will be included in the next release.

Bug Fixes

Compile error: resize.cpp - Ln 223

Posted: Tue Dec 06, 2005 6:43 pm
by teemo
Having wxUSE_STD set caused me a compile error in resize.cpp at line 223.

Changed:

UpdateContainerResizeSashes(containers);

To:

UpdateContainerResizeSashes(containers.Item(i).GetData());

Posted: Sun Dec 11, 2005 11:56 pm
by SnakeChomp
Added a patch which corrects static initialization issues on wxGTK.

Posted: Thu Dec 15, 2005 8:06 am
by Darjk
Thanks very much for that fix for wxGTK.

Just spent the last week learning linux and porting my app from Win32 to Linux + wxGTK. Had it compiling and linking with no problems however had me stumped as to why its giving me Segsv (or whatever the Linux equivilant of "access violations" are) errors.

The last 3 lines on the call stack were
wxObject::Ref
wxColour
wxSystemSettingsNative::GetColour
wxIFMCaptionConfig

Just compiling it all now hopefully this is the last of my problems :)

Posted: Sun Dec 25, 2005 7:38 pm
by asp
I have found a new bug: if you undock a window and then you minimize the frame, when the frame is restored, the undocked window is not shown.

Regards

Posted: Sat Feb 25, 2006 3:52 pm
by arucard
The for cycle in file definterface.cpp on line 275 (in function GetContainer) should be reversed. Change from:

Code: Select all

for( wxIFMComponentList::const_iterator i = m_containers.begin(), end = m_containers.end(); i != end; ++i )
to

Code: Select all

for( wxIFMComponentList::const_reverse_iterator i = m_containers.rbegin(), end = m_containers.rend(); i != end; ++i )
This gives the ability to add children to the right (last) container if there are more containers on one side