Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

parsertest project, Window refresh issue, rev 7788

<< < (2/5) > >>

MortenMacFly:

--- Quote from: ollydbg on February 15, 2012, 08:56:24 am ---In the wxsmith, the textctrl style has wxTE_RICH2(enabled), if I disable this option, then it refreshes FINE.

--- End quote ---
There have been bug reports on this style and many improvements recently in the wx trunk version (a.k.a. 2.9.x) for rich text controls. If its a wx issue I'd say try with wx 2.9.x - if the error is gone, ignore it. In the end it's just a test project.

ollydbg:

--- Quote from: MortenMacFly on February 15, 2012, 09:13:36 am ---
--- Quote from: ollydbg on February 15, 2012, 08:56:24 am ---In the wxsmith, the textctrl style has wxTE_RICH2(enabled), if I disable this option, then it refreshes FINE.

--- End quote ---
There have been bug reports on this style and many improvements recently in the wx trunk version (a.k.a. 2.9.x) for rich text controls. If its a wx issue I'd say try with wx 2.9.x - if the error is gone, ignore it. In the end it's just a test project.

--- End quote ---
Thanks, but the issue also affect the current c::b's source code, see here

--- Code: ---wxWindow* TextCtrlLogger::CreateControl(wxWindow* parent)
{
    if (!control)
        control = new wxTextCtrl(parent, -1, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE | wxTE_READONLY | wxTE_RICH | wxTE_NOHIDESEL | wxTE_AUTO_URL);
    return control;
}

--- End code ---

Can we remove the "wxTE_RICH" ??  This issue happens for a very long time.

oBFusCATed:

--- Quote from: ollydbg on February 15, 2012, 09:30:12 am ---Can we remove the "wxTE_RICH" ??  This issue happens for a very long time.

--- End quote ---
I doubt, because we will use the formatting, also it works as expected on linux :)

ollydbg:

--- Quote from: oBFusCATed on February 15, 2012, 10:35:03 am ---
--- Quote from: ollydbg on February 15, 2012, 09:30:12 am ---Can we remove the "wxTE_RICH" ??  This issue happens for a very long time.

--- End quote ---
I doubt, because we will use the formatting, also it works as expected on linux :)

--- End quote ---

The refresh issue is very annoying under windows.  :(

It looks like wxTE_RICH and wxTE_RICH2 only affect the win32 platform.

oBFusCATed:
The only thing you could do is to test it with wx2.9 from wx's trunk and then report to wx's guys if the problem is still there.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version