fixed infinite recursion bug in some rare cases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@21242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -175,14 +175,15 @@ OTHER CHANGES
|
|||||||
2.4.2
|
2.4.2
|
||||||
-----
|
-----
|
||||||
|
|
||||||
wxBase:
|
|
||||||
|
|
||||||
- always NUL-terminate the log messages
|
|
||||||
|
|
||||||
All:
|
All:
|
||||||
|
|
||||||
|
- always NUL-terminate the log messages
|
||||||
- wxRegEx::Compile() now calculates the number of groups correctly
|
- wxRegEx::Compile() now calculates the number of groups correctly
|
||||||
|
|
||||||
|
All (GUI):
|
||||||
|
|
||||||
|
- rare crash in wxFontMapper fixed (Robert Vazan)
|
||||||
|
|
||||||
Generic:
|
Generic:
|
||||||
|
|
||||||
- wxListCtrl: respect wxLC_NO_HEADER style when inserting first column
|
- wxListCtrl: respect wxLC_NO_HEADER style when inserting first column
|
||||||
|
@@ -758,13 +758,15 @@ bool wxFontMapper::TestAltEncoding(const wxString& configEntry,
|
|||||||
class ReentrancyBlocker
|
class ReentrancyBlocker
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
ReentrancyBlocker(bool& b) : m_b(b) { m_b = TRUE; }
|
ReentrancyBlocker(bool& flag) : m_flagOld(flag), m_flag(flag)
|
||||||
~ReentrancyBlocker() { m_b = FALSE; }
|
{ m_flag = TRUE; }
|
||||||
|
~ReentrancyBlocker() { m_flag = m_flagOld; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
bool& m_b;
|
bool m_flagOld;
|
||||||
|
bool& m_flag;
|
||||||
};
|
};
|
||||||
#endif
|
#endif // wxUSE_GUI
|
||||||
|
|
||||||
bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding,
|
bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding,
|
||||||
wxNativeEncodingInfo *info,
|
wxNativeEncodingInfo *info,
|
||||||
|
Reference in New Issue
Block a user