missed non-array allocations using top-level new
svn: r5442
This commit is contained in:
parent
ece86fe323
commit
898e50625b
1
src/configure
vendored
1
src/configure
vendored
|
@ -1714,6 +1714,7 @@ show_explicitly_disabled "${enable_mred}" MrEd
|
|||
if test "${enable_mred}" != "no" ; then
|
||||
show_explicitly_disabled "${enable_gl}" OpenGL
|
||||
show_explicitly_disabled "${enable_xrender}" Xrender
|
||||
show_explicitly_disabled "${enable_xft}" Xft
|
||||
show_explicitly_disabled "${enable_cairo}" Cairo
|
||||
show_explicitly_disabled "${enable_libpng}" "Use-existing-libpng"
|
||||
show_explicitly_disabled "${enable_libjpeg}" "Use-existing-libjpeg"
|
||||
|
|
|
@ -2566,8 +2566,6 @@ int wxMediaPasteboard::InsertPort(Scheme_Object *f, int WXUNUSED(format), Bool r
|
|||
Bool wxMediaPasteboard::InsertFile(const char *who, Scheme_Object *f, const char *filename,
|
||||
Bool clearStyles, Bool showErrors)
|
||||
{
|
||||
int n;
|
||||
char buffer[MRED_START_STR_LEN + 1];
|
||||
Bool fileerr;
|
||||
|
||||
if (userLocked || writeLocked)
|
||||
|
|
|
@ -244,6 +244,7 @@ show_explicitly_disabled "${enable_mred}" MrEd
|
|||
if test "${enable_mred}" != "no" ; then
|
||||
show_explicitly_disabled "${enable_gl}" OpenGL
|
||||
show_explicitly_disabled "${enable_xrender}" Xrender
|
||||
show_explicitly_disabled "${enable_xft}" Xft
|
||||
show_explicitly_disabled "${enable_cairo}" Cairo
|
||||
show_explicitly_disabled "${enable_libpng}" "Use-existing-libpng"
|
||||
show_explicitly_disabled "${enable_libjpeg}" "Use-existing-libjpeg"
|
||||
|
|
|
@ -48,14 +48,14 @@ extern Colormap wx_default_colormap;
|
|||
// private data of wxColour and wxColourMap
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
class wxColour_Xintern {
|
||||
class wxColour_Xintern : public gc {
|
||||
public:
|
||||
XColor xcolor;
|
||||
Bool have_pixel;
|
||||
Colormap xcolormap;
|
||||
};
|
||||
|
||||
class wxColourMap_Xintern {
|
||||
class wxColourMap_Xintern : public gc {
|
||||
public:
|
||||
Colormap xcolormap;
|
||||
Bool priv;
|
||||
|
|
|
@ -134,7 +134,7 @@ extern char *copystring_xt(const char *s);
|
|||
# define BUNDLE_TOP_MENU(menu) GC_malloc_immobile_box(GC_malloc_weak_box(gcOBJ_TO_PTR(menu), NULL, 0))
|
||||
# define FREE_TOP_POINTER(p) GC_free_immobile_box((void **)p)
|
||||
#else
|
||||
# define MALLOC_MENU_ITEM() (new menu_item)
|
||||
# define MALLOC_MENU_ITEM() (new WXGC_PTRS menu_item)
|
||||
# define FREE_MENU_ITEM(i) /* nothing */
|
||||
# define MAKE_MENU_STRING(s) s
|
||||
# define FREE_MENU_STRING(s) /* nothing */
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
#endif
|
||||
|
||||
#ifdef Have_Xt_Types
|
||||
class wxWindow_Xintern {
|
||||
class wxWindow_Xintern : public gc {
|
||||
public:
|
||||
Widget frame; // frame widgets
|
||||
Widget scroll; // optional scrollable widget
|
||||
|
|
Loading…
Reference in New Issue
Block a user