attempt to work around SDK specific problems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -157,7 +157,11 @@ bool wxListBox::Create(wxWindow *parent, wxWindowID id,
|
|||||||
|
|
||||||
columnDesc.propertyDesc.propertyID = 1024;
|
columnDesc.propertyDesc.propertyID = 1024;
|
||||||
columnDesc.propertyDesc.propertyType = kDataBrowserTextType;
|
columnDesc.propertyDesc.propertyType = kDataBrowserTextType;
|
||||||
columnDesc.propertyDesc.propertyFlags = kDataBrowserListViewTypeSelectColumn | kDataBrowserTableViewSelectionColumn ;
|
columnDesc.propertyDesc.propertyFlags =
|
||||||
|
#ifdef MAC_OS_X_VERSION_10_3
|
||||||
|
kDataBrowserListViewTypeSelectColumn |
|
||||||
|
#endif
|
||||||
|
kDataBrowserTableViewSelectionColumn ;
|
||||||
|
|
||||||
|
|
||||||
verify_noerr(::AddDataBrowserListViewColumn(browser, &columnDesc, kDataBrowserListViewAppendColumn) ) ;
|
verify_noerr(::AddDataBrowserListViewColumn(browser, &columnDesc, kDataBrowserListViewAppendColumn) ) ;
|
||||||
|
@@ -102,6 +102,12 @@ END_EVENT_TABLE()
|
|||||||
extern long wxMacTranslateKey(unsigned char key, unsigned char code) ;
|
extern long wxMacTranslateKey(unsigned char key, unsigned char code) ;
|
||||||
pascal OSStatus wxMacSetupControlBackground( ControlRef iControl , SInt16 iMessage , SInt16 iDepth , Boolean iIsColor ) ;
|
pascal OSStatus wxMacSetupControlBackground( ControlRef iControl , SInt16 iMessage , SInt16 iDepth , Boolean iIsColor ) ;
|
||||||
|
|
||||||
|
#ifndef MAC_OS_X_VERSION_10_3
|
||||||
|
enum {
|
||||||
|
kEventControlVisibilityChanged = 157
|
||||||
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static const EventTypeSpec eventList[] =
|
static const EventTypeSpec eventList[] =
|
||||||
{
|
{
|
||||||
#if TARGET_API_MAC_OSX
|
#if TARGET_API_MAC_OSX
|
||||||
|
Reference in New Issue
Block a user