If you are using the main C++ distribution of wxWidgets, Feel free to ask any question related to wxWidgets development here. This means questions regarding to C++ and wxWidgets, not compile problems.
if (wxTheClipboard->Open())
{
if (wxTheClipboard->IsSupported(m_dataFormat))
{
wxCustomDataObject data(m_dataFormat);
if (wxTheClipboard->GetData(data))
{
...
}
}
}
Program received signal SIGSEGV, Segmentation fault.
0x00597242 in wxDataObjectBase::IsSupported (this=0x22ef20, format=@0x22ee6e,
dir=Get) at ../../src/common/dobjcmn.cpp:57
57 size_t nFormatCount = GetFormatCount( dir );
Current language: auto; currently c++
#0 0x00597242 in wxDataObjectBase::IsSupported (this=0x22ef20,
format=@0x22ee6e, dir=Get) at ../../src/common/dobjcmn.cpp:57
#1 0x007668c8 in wxDataObject::IsSupportedFormat (this=0x22ef20,
format=@0x22ee6e) at ../../include/wx/msw/ole/dataobj.h:41
#2 0x0059a0db in wxIDataObject::QueryGetData (this=0x2c5d5c0,
pformatetc=0x22ef30) at ../../src/msw/ole/dataobj.cpp:570
#3 0x005998ba in wxIDataObject::GetData (this=0x2c5d5c0,
pformatetcIn=0x22ef30, pmedium=0x22ef10)
at ../../src/msw/ole/dataobj.cpp:285
#4 0x77552ffc in ole32!CLSIDFromOle1Class ()
from C:\WINDOWS\system32\ole32.dll
#5 0x02c5d5c0 in ?? ()
#6 0x0022ef30 in ?? ()
#7 0x0022ef10 in ?? ()
#8 0x0022f450 in ?? ()
#9 0x0052b2a8 in wxWindowCreationHook::~wxWindowCreationHook ()
at ../../include/wx/msw/private.h:892
#10 0x005f77cb in wxClipboard::GetData (this=0x2c5d598, data=@0x22f020)
at ../../src/msw/clipbrd.cpp:835