1. wxDialogs are now destroyed when they go out of scope
2. [GS]etDefaultItem() are now in wxPanel, not wxWindow 3. better checking for g_isPainting - hopefully no more false asserts 4. wxListCtrl not recreated any more when view changes, this corrects the bug with selection not working after view mode change 5. wxListCtrl now generates wxEVT_ITEM_ACTIVATED event 6. you can now press/toggle a button with a space 7. couple of other minor fixes git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
#include "wx/wxprec.h"
|
||||
|
||||
#ifdef __BORLANDC__
|
||||
#pragma hdrstop
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#include "wx/image.h"
|
||||
@@ -32,13 +32,11 @@
|
||||
#include <string.h>
|
||||
|
||||
#ifdef __SALFORDC__
|
||||
#ifdef FAR
|
||||
#undef FAR
|
||||
#endif
|
||||
#undef FAR
|
||||
#endif
|
||||
|
||||
#ifdef __WXMSW__
|
||||
#include <windows.h>
|
||||
#include "wx/msw/private.h"
|
||||
#endif
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
@@ -49,8 +47,8 @@ class wxImageRefData: public wxObjectRefData
|
||||
{
|
||||
|
||||
public:
|
||||
wxImageRefData(void);
|
||||
~wxImageRefData(void);
|
||||
wxImageRefData();
|
||||
~wxImageRefData();
|
||||
|
||||
int m_width;
|
||||
int m_height;
|
||||
@@ -60,7 +58,7 @@ public:
|
||||
bool m_ok;
|
||||
};
|
||||
|
||||
wxImageRefData::wxImageRefData(void)
|
||||
wxImageRefData::wxImageRefData()
|
||||
{
|
||||
m_width = 0;
|
||||
m_height = 0;
|
||||
@@ -72,7 +70,7 @@ wxImageRefData::wxImageRefData(void)
|
||||
m_hasMask = FALSE;
|
||||
}
|
||||
|
||||
wxImageRefData::~wxImageRefData(void)
|
||||
wxImageRefData::~wxImageRefData()
|
||||
{
|
||||
if (m_data) free( m_data );
|
||||
}
|
||||
@@ -84,7 +82,7 @@ wxList wxImage::sm_handlers;
|
||||
#define M_IMGDATA ((wxImageRefData *)m_refData)
|
||||
|
||||
#if !USE_SHARED_LIBRARIES
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxImage, wxObject)
|
||||
IMPLEMENT_DYNAMIC_CLASS(wxImage, wxObject)
|
||||
#endif
|
||||
|
||||
wxImage::wxImage()
|
||||
|
Reference in New Issue
Block a user