Reverted change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@62095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -93,15 +93,11 @@ Major new features in 2.8 release
|
|||||||
|
|
||||||
*** INCOMPATIBLE CHANGES: ***
|
*** INCOMPATIBLE CHANGES: ***
|
||||||
|
|
||||||
1. Due to an oversight, a bug fix in wxMSW resulted in an incompatible change in
|
Due to an oversight, a bug fix in wxMSW resulted in an incompatible change in
|
||||||
wxTreeCtrl behaviour: its EVT_TREE_ITEM_ACTIVATED handler now must skip the
|
wxTreeCtrl behaviour: its EVT_TREE_ITEM_ACTIVATED handler now must skip the
|
||||||
event being processed to allow the item to be toggled by double clicking on it.
|
event being processed to allow the item to be toggled by double clicking on it.
|
||||||
I.e. you need to ensure there is an "event.Skip()" in your item activation
|
I.e. you need to ensure there is an "event.Skip()" in your item activation
|
||||||
handler if you do wish to allow the item to be toggled.
|
handler if you do wish to allow the item to be toggled.
|
||||||
|
|
||||||
2. wxTextCtrl::LoadFile no longer sends a text event. This corrects problematic
|
|
||||||
behaviour with spurious document modification.
|
|
||||||
|
|
||||||
|
|
||||||
All:
|
All:
|
||||||
|
|
||||||
@@ -128,7 +124,6 @@ All (GUI):
|
|||||||
where invalid sizes caused incorrect second invocation of page setup
|
where invalid sizes caused incorrect second invocation of page setup
|
||||||
dialog.
|
dialog.
|
||||||
- Corrected writing direction for Farsi.
|
- Corrected writing direction for Farsi.
|
||||||
- wxTextCtrl::LoadFile no longer sends a text event.
|
|
||||||
- Added wxBORDER_THEME to XRC.
|
- Added wxBORDER_THEME to XRC.
|
||||||
|
|
||||||
wxMSW:
|
wxMSW:
|
||||||
|
@@ -205,7 +205,7 @@ bool wxTextCtrlBase::DoLoadFile(const wxString& filename, int WXUNUSED(fileType)
|
|||||||
wxString text;
|
wxString text;
|
||||||
if ( file.ReadAll(&text) )
|
if ( file.ReadAll(&text) )
|
||||||
{
|
{
|
||||||
ChangeValue(text);
|
SetValue(text);
|
||||||
|
|
||||||
DiscardEdits();
|
DiscardEdits();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user