On Sat, 24 Feb 2018 09:45:32 +0800 asmwarrior wrote:
a> Hi, it looks like this bug happens for a long time, it exists in wx
a> 3.1.0 release and 3.1.1-rc.
a>
a> I build the sample code:
a> wxWidgets-3.1.1-rc\samples\splitter\splitter.cpp, but I have comment out
a> this option "wxSP_LIVE_UPDATE" around line 505
a>
a> MySplitterWindow::MySplitterWindow(wxFrame *parent)
a> : wxSplitterWindow(parent, wxID_ANY,
a> wxDefaultPosition, wxDefaultSize,
a> wxSP_3D | /* wxSP_LIVE_UPDATE |*/
a> wxCLIP_CHILDREN /* | wxSP_NO_XP_THEME */ )
You don't really need to do this, the sample has "Toggle live update" menu
item in its menu which allows to change this while running it.
a> Now, with wxSP_LIVE_UPDATE option disabled, it is expect to show a XOR
a> line when I drag the sash bar, but I see the XOR line is drawn in the
a> wrong place, see the screen shot as attachment.
Very strange, I don't see this at all (I even made the change above to be
sure). I've only tested this in MSVC build so far, but I don't see why
would it be different for MinGW.
a> Any ideas?
Not really, sorry. This needs to be debugged, but I know that debugging
with gdb under MSW is painful (personally I use remote gdb under Linux to
do it...).
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/