[ wxwindows-Bugs-1805420 ] wxRichTextCtrl window disable bug
SourceForge.net
noreply at sourceforge.net
Mon Oct 1 04:59:34 PDT 2007
Bugs item #1805420, was opened at 2007-10-01 01:08
Message generated for change (Settings changed) made by brianvanderburg
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1805420&group_id=9863
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: RichTextCtrl
Group: None
>Status: Closed
>Resolution: Invalid
Priority: 5
Private: No
Submitted By: Brian A. Vanderburg II (brianvanderburg)
Assigned to: Julian Smart (juliansmart)
Summary: wxRichTextCtrl window disable bug
Initial Comment:
I have a splitter window, and on it a tree control and rich text control. I've set up log points in my code anywhere that the text control is disabled and anywhere it is enabled in the code.
The main window and splitter window are not disabled at all (the tree it and it may be having the same problems but can't tell).
Anyway, when loading a file in the program, the log appears showing that the text control has been disabled (nothing in the tree is selected yet so it should not be enabled), but I can still type into it as if it was not disabled. I reverted my project to a previous revision and tested and it did work right. Then I made a small change to get it working right again:
I create a panel, put the text control on the panel and the panel on the splitter. Now, whenever I want to disable the rich text control, I disable the panel instead and it works.
This just seems to be a bug to me but maybe I'm wrong or doing something else wrong.
----------------------------------------------------------------------
Comment By: Brian A. Vanderburg II (brianvanderburg)
Date: 2007-10-01 07:58
Message:
Logged In: YES
user_id=1033354
Originator: YES
The error was on my part after all. After making some massive changes, I
didn't check the ID ranges. One (main window) started as wxID_HIGHEST + 1,
and the other, wxID_HIGHEST + 10, but not enough, and the text control
wxUpdateUIEvent was processed by a menu update handler in the main window
and enabled from there.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1805420&group_id=9863
More information about the wx-dev
mailing list