Mem leak in new accelerator code.
Install things. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1,6 +1,11 @@
|
|||||||
|
|
||||||
25th October '99: My birthday, wxWindows 2.1.10 released
|
25th October '99: My birthday, wxWindows 2.1.10 released
|
||||||
|
|
||||||
|
There is still a unresolved problem with bitmap to image
|
||||||
|
conversion on big-endian architectures (such as Solaris),
|
||||||
|
where color values get exchanged. I'd need help on this
|
||||||
|
one.
|
||||||
|
|
||||||
Enlightment has struck the majority of the developers and
|
Enlightment has struck the majority of the developers and
|
||||||
they have chosen to use the Linux kernel numbering scheme
|
they have chosen to use the Linux kernel numbering scheme
|
||||||
for wxWindows from now on. This means that the next stable
|
for wxWindows from now on. This means that the next stable
|
||||||
@@ -83,9 +88,13 @@ wxSlider, wxWindow, wxScrollBar now emit the correct events
|
|||||||
for scrolling (like page up, line up etc) instead of just
|
for scrolling (like page up, line up etc) instead of just
|
||||||
"thumb-track" as before.
|
"thumb-track" as before.
|
||||||
|
|
||||||
Corrected Reparent() code.
|
Corrected Reparent() code, including the special case for
|
||||||
|
wxToolBar (as the toolbar sits in a different window than
|
||||||
|
normal windows).
|
||||||
|
|
||||||
Corrected key accelerator code for toplevel child windows.
|
Corrected key accelerator code for toplevel child windows
|
||||||
|
and added support for more key combinations - pretty much
|
||||||
|
all, actually.
|
||||||
|
|
||||||
Corrected cursor handling in a number of special cases.
|
Corrected cursor handling in a number of special cases.
|
||||||
|
|
||||||
|
@@ -90,7 +90,7 @@ program - or due to using a broken compiler (and its optimisation) such as GCC 2
|
|||||||
|
|
||||||
Now create your super-application myfoo.app and compile anywhere with
|
Now create your super-application myfoo.app and compile anywhere with
|
||||||
|
|
||||||
g++ myfoo.cpp `wx-config --libs --cflags` -o myfoo
|
gcc myfoo.cpp `wx-config --libs --cflags` -o myfoo
|
||||||
|
|
||||||
* General
|
* General
|
||||||
-----------------------
|
-----------------------
|
||||||
@@ -143,7 +143,7 @@ make install
|
|||||||
ldconfig
|
ldconfig
|
||||||
exit
|
exit
|
||||||
|
|
||||||
NB: DO NOT COMPILE WXGTK WITH GCC AND THREADS, SINCE ALL PROGRAMS WILL CRASH UPON
|
NB: DO NOT COMPILE WXGTK WITH GCC 2.7 AND THREADS, SINCE ALL PROGRAMS WILL CRASH UPON
|
||||||
START-UP! Just always use egcs and be happy.
|
START-UP! Just always use egcs and be happy.
|
||||||
|
|
||||||
* Building wxGTK on OS/2
|
* Building wxGTK on OS/2
|
||||||
@@ -239,12 +239,12 @@ toolkit. You must do this by running configure with either of:
|
|||||||
|
|
||||||
The following options handle the kind of library you want to build.
|
The following options handle the kind of library you want to build.
|
||||||
|
|
||||||
--disable-threads Compile without thread support. Threads
|
--disable-threads Compile without thread support.
|
||||||
support is also required for the
|
|
||||||
socket code to work.
|
|
||||||
|
|
||||||
--disable-shared Do not create shared libraries.
|
--disable-shared Do not create shared libraries.
|
||||||
|
|
||||||
|
--enable-static Create static libraries.
|
||||||
|
|
||||||
--disable-optimise Do not optimise the code. Can
|
--disable-optimise Do not optimise the code. Can
|
||||||
sometimes be useful for debugging
|
sometimes be useful for debugging
|
||||||
and is required on some architectures
|
and is required on some architectures
|
||||||
@@ -270,9 +270,9 @@ The following options handle the kind of library you want to build.
|
|||||||
|
|
||||||
--enable-permissive Enable compilation without creation of
|
--enable-permissive Enable compilation without creation of
|
||||||
giving erros as soon as you compile with
|
giving erros as soon as you compile with
|
||||||
Solaris ANSI-defying headers...
|
Solaris' ANSI-defying headers...
|
||||||
|
|
||||||
--enable-mem_tracing Add built-in memory tracing.
|
--enable-mem_tracing Add built-in memory tracing.
|
||||||
|
|
||||||
--enable-dmalloc Use the dmalloc memory debugger.
|
--enable-dmalloc Use the dmalloc memory debugger.
|
||||||
Read more at www.letters.com/dmalloc/
|
Read more at www.letters.com/dmalloc/
|
||||||
@@ -305,7 +305,13 @@ are
|
|||||||
|
|
||||||
--without-libjpeg Disables JPEG image format code.
|
--without-libjpeg Disables JPEG image format code.
|
||||||
|
|
||||||
{ --without-odbc Disables ODBC code. Not yet. }
|
--disable-pnm Disables PNM image format code.
|
||||||
|
|
||||||
|
--disable-gif Disables GIF image format code.
|
||||||
|
|
||||||
|
--disable-pcx Disables PCX image format code.
|
||||||
|
|
||||||
|
--without-odbc Disables ODBC code.
|
||||||
|
|
||||||
--disable-resources Disables the use of *.wxr type
|
--disable-resources Disables the use of *.wxr type
|
||||||
resources.
|
resources.
|
||||||
|
@@ -525,7 +525,7 @@ wxAcceleratorEntry *wxGetAccelFromString(const wxString& label)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return NULL;
|
return (wxAcceleratorEntry *)NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // wxUSE_ACCEL
|
#endif // wxUSE_ACCEL
|
||||||
|
@@ -853,6 +853,8 @@ static wxString GetHotKey( const wxMenuItem& item )
|
|||||||
wxFAIL_MSG( wxT("unknown keyboard accel") );
|
wxFAIL_MSG( wxT("unknown keyboard accel") );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (accel)
|
||||||
|
delete accel;
|
||||||
|
|
||||||
return hotkey;
|
return hotkey;
|
||||||
}
|
}
|
||||||
|
@@ -853,6 +853,8 @@ static wxString GetHotKey( const wxMenuItem& item )
|
|||||||
wxFAIL_MSG( wxT("unknown keyboard accel") );
|
wxFAIL_MSG( wxT("unknown keyboard accel") );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (accel)
|
||||||
|
delete accel;
|
||||||
|
|
||||||
return hotkey;
|
return hotkey;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user