no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -188,12 +188,20 @@ void wxChoice::SetString(
|
|||||||
, const wxString& rsStr
|
, const wxString& rsStr
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
wxFAIL_MSG(wxT("not implemented"));
|
SHORT nIndexType = 0;
|
||||||
|
|
||||||
#if 0 // should do this, but no Insert() so far
|
::WinSendMsg(WinUtil_GetHwnd(), LM_DELETEITEM, (MPARAM)n, 0);
|
||||||
Delete(n);
|
|
||||||
Insert(n + 1, s);
|
|
||||||
#endif
|
if (m_lWindowStyle & winLB_SORT)
|
||||||
|
nIndexType = LIT_SORTASCENDING;
|
||||||
|
else
|
||||||
|
nIndexType = LIT_END;
|
||||||
|
lIndex = (YInt32)::WinSendMsg( WinUtil_GetHwnd()
|
||||||
|
,LM_INSERTITEM
|
||||||
|
,(MPARAM)nIndexType
|
||||||
|
,(MPARAM)rsStr.Data()
|
||||||
|
);
|
||||||
} // end of wxChoice::SetString
|
} // end of wxChoice::SetString
|
||||||
|
|
||||||
wxString wxChoice::GetString(
|
wxString wxChoice::GetString(
|
||||||
|
@@ -220,10 +220,44 @@ wxRegion::~wxRegion()
|
|||||||
{
|
{
|
||||||
} // end of wxRegion::~wxRegion
|
} // end of wxRegion::~wxRegion
|
||||||
|
|
||||||
|
wxObjectRefData *wxRegion::CreateData() const
|
||||||
|
{
|
||||||
|
return new wxRegionRefData;
|
||||||
|
}
|
||||||
|
|
||||||
|
wxObjectRefData *wxRegion::CloneData(wxObjectRefData *data) const
|
||||||
|
{
|
||||||
|
return new wxRegionRefData(*(wxRegionRefData *)data);
|
||||||
|
}
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
//# Modify region
|
//# Modify region
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
bool wxRegion::Offset(
|
||||||
|
wxCoord x
|
||||||
|
, wxCoord y
|
||||||
|
)
|
||||||
|
{
|
||||||
|
if ( !x && !y )
|
||||||
|
{
|
||||||
|
// nothing to do
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
AllocExclusive();
|
||||||
|
|
||||||
|
#if 0
|
||||||
|
if ( ::OffsetRgn(GetHrgn(), x, y) == ERROR )
|
||||||
|
{
|
||||||
|
wxLogLastError(_T("OffsetRgn"));
|
||||||
|
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Clear current region
|
// Clear current region
|
||||||
//
|
//
|
||||||
@@ -243,20 +277,7 @@ bool wxRegion::Combine(
|
|||||||
, wxRegionOp eOp
|
, wxRegionOp eOp
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
//
|
AllocExclusive();
|
||||||
// Don't change shared data
|
|
||||||
//
|
|
||||||
if (!m_refData)
|
|
||||||
{
|
|
||||||
m_refData = new wxRegionRefData();
|
|
||||||
}
|
|
||||||
else if (m_refData->GetRefCount() > 1)
|
|
||||||
{
|
|
||||||
wxRegionRefData* pRef = (wxRegionRefData*)m_refData;
|
|
||||||
|
|
||||||
UnRef();
|
|
||||||
m_refData = new wxRegionRefData(*pRef);
|
|
||||||
}
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// If ref count is 1, that means it's 'ours' anyway so no action.
|
// If ref count is 1, that means it's 'ours' anyway so no action.
|
||||||
@@ -321,20 +342,7 @@ bool wxRegion::Combine(
|
|||||||
if (rRegion.Empty())
|
if (rRegion.Empty())
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
//
|
AllocExclusive();
|
||||||
// Don't change shared data
|
|
||||||
//
|
|
||||||
if (!m_refData)
|
|
||||||
{
|
|
||||||
m_refData = new wxRegionRefData();
|
|
||||||
}
|
|
||||||
else if (m_refData->GetRefCount() > 1)
|
|
||||||
{
|
|
||||||
wxRegionRefData* pRef = (wxRegionRefData*)m_refData;
|
|
||||||
|
|
||||||
UnRef();
|
|
||||||
m_refData = new wxRegionRefData(*pRef);
|
|
||||||
}
|
|
||||||
|
|
||||||
LONG lMode = 0;
|
LONG lMode = 0;
|
||||||
|
|
||||||
|
@@ -4,7 +4,7 @@ DATA MULTIPLE NONSHARED READWRITE LOADONCALL
|
|||||||
CODE LOADONCALL
|
CODE LOADONCALL
|
||||||
|
|
||||||
EXPORTS
|
EXPORTS
|
||||||
;From library: H:\DEV\WX2\WXWINDOWS\LIB\wx.lib
|
;From library: F:\DEV\WX2\WXWINDOWS\LIB\wx.lib
|
||||||
;From object file: dummy.cpp
|
;From object file: dummy.cpp
|
||||||
;PUBDEFs (Symbols available from object file):
|
;PUBDEFs (Symbols available from object file):
|
||||||
wxDummyChar
|
wxDummyChar
|
||||||
@@ -1772,7 +1772,7 @@ EXPORTS
|
|||||||
wxEVT_NC_LEFT_DCLICK
|
wxEVT_NC_LEFT_DCLICK
|
||||||
wxEVT_INIT_DIALOG
|
wxEVT_INIT_DIALOG
|
||||||
wxEVT_COMMAND_SET_FOCUS
|
wxEVT_COMMAND_SET_FOCUS
|
||||||
;From object file: H:\DEV\WX2\WXWINDOWS\src\common\extended.c
|
;From object file: F:\DEV\WX2\WXWINDOWS\src\common\extended.c
|
||||||
;PUBDEFs (Symbols available from object file):
|
;PUBDEFs (Symbols available from object file):
|
||||||
ConvertToIeeeExtended
|
ConvertToIeeeExtended
|
||||||
ConvertFromIeeeExtended
|
ConvertFromIeeeExtended
|
||||||
@@ -2242,6 +2242,8 @@ EXPORTS
|
|||||||
__ne__10wxFontBaseCFRC6wxFont
|
__ne__10wxFontBaseCFRC6wxFont
|
||||||
;wxFontBase::GetFamilyString() const
|
;wxFontBase::GetFamilyString() const
|
||||||
GetFamilyString__10wxFontBaseCFv
|
GetFamilyString__10wxFontBaseCFv
|
||||||
|
;wxFontBase::SetDefaultEncoding(wxFontEncoding)
|
||||||
|
SetDefaultEncoding__10wxFontBaseF14wxFontEncoding
|
||||||
;wxFontBase::IsFixedWidth() const
|
;wxFontBase::IsFixedWidth() const
|
||||||
IsFixedWidth__10wxFontBaseCFv
|
IsFixedWidth__10wxFontBaseCFv
|
||||||
;wxFontBase::New(int,int,int,int,unsigned long,const wxString&,wxFontEncoding)
|
;wxFontBase::New(int,int,int,int,unsigned long,const wxString&,wxFontEncoding)
|
||||||
@@ -3138,6 +3140,8 @@ EXPORTS
|
|||||||
__vft12wxPNGHandler8wxObject
|
__vft12wxPNGHandler8wxObject
|
||||||
;wxConstructorForwxPNGHandler()
|
;wxConstructorForwxPNGHandler()
|
||||||
wxConstructorForwxPNGHandler__Fv
|
wxConstructorForwxPNGHandler__Fv
|
||||||
|
wx_png_error
|
||||||
|
wx_png_warning
|
||||||
_PNG_stream_reader
|
_PNG_stream_reader
|
||||||
;wxPNGHandler::SaveFile(wxImage*,wxOutputStream&,unsigned long)
|
;wxPNGHandler::SaveFile(wxImage*,wxOutputStream&,unsigned long)
|
||||||
SaveFile__12wxPNGHandlerFP7wxImageR14wxOutputStreamUl
|
SaveFile__12wxPNGHandlerFP7wxImageR14wxOutputStreamUl
|
||||||
@@ -3148,8 +3152,6 @@ EXPORTS
|
|||||||
_PNG_stream_writer
|
_PNG_stream_writer
|
||||||
;wxPNGHandler::sm_classwxPNGHandler
|
;wxPNGHandler::sm_classwxPNGHandler
|
||||||
sm_classwxPNGHandler__12wxPNGHandler
|
sm_classwxPNGHandler__12wxPNGHandler
|
||||||
png_silent_error
|
|
||||||
png_silent_warning
|
|
||||||
;From object file: ..\common\imagpnm.cpp
|
;From object file: ..\common\imagpnm.cpp
|
||||||
;PUBDEFs (Symbols available from object file):
|
;PUBDEFs (Symbols available from object file):
|
||||||
;wxPNMHandler::SaveFile(wxImage*,wxOutputStream&,unsigned long)
|
;wxPNMHandler::SaveFile(wxImage*,wxOutputStream&,unsigned long)
|
||||||
@@ -5771,7 +5773,7 @@ EXPORTS
|
|||||||
Read32__17wxTextInputStreamFv
|
Read32__17wxTextInputStreamFv
|
||||||
;wxTextInputStream::SkipIfEndOfLine(char)
|
;wxTextInputStream::SkipIfEndOfLine(char)
|
||||||
SkipIfEndOfLine__17wxTextInputStreamFc
|
SkipIfEndOfLine__17wxTextInputStreamFc
|
||||||
;From object file: H:\DEV\WX2\WXWINDOWS\src\common\unzip.c
|
;From object file: F:\DEV\WX2\WXWINDOWS\src\common\unzip.c
|
||||||
;PUBDEFs (Symbols available from object file):
|
;PUBDEFs (Symbols available from object file):
|
||||||
unzReadCurrentFile
|
unzReadCurrentFile
|
||||||
unzGetCurrentFileInfo
|
unzGetCurrentFileInfo
|
||||||
@@ -6572,6 +6574,8 @@ EXPORTS
|
|||||||
SetForegroundColour__12wxWindowBaseFRC8wxColour
|
SetForegroundColour__12wxWindowBaseFRC8wxColour
|
||||||
;wxWindowBase::SetBackgroundColour(const wxColour&)
|
;wxWindowBase::SetBackgroundColour(const wxColour&)
|
||||||
SetBackgroundColour__12wxWindowBaseFRC8wxColour
|
SetBackgroundColour__12wxWindowBaseFRC8wxColour
|
||||||
|
;wxWindowBase::RemoveEventHandler(wxEvtHandler*)
|
||||||
|
RemoveEventHandler__12wxWindowBaseFP12wxEvtHandler
|
||||||
;wxWindowBase::Destroy()
|
;wxWindowBase::Destroy()
|
||||||
Destroy__12wxWindowBaseFv
|
Destroy__12wxWindowBaseFv
|
||||||
;wxWindowBase::SetConstraints(wxLayoutConstraints*)
|
;wxWindowBase::SetConstraints(wxLayoutConstraints*)
|
||||||
|
Reference in New Issue
Block a user