]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/listctrl.cpp
When registering editor, try wxRTTI class name in additon to result of wxPGEditor...
[wxWidgets.git] / src / generic / listctrl.cpp
index 028a0fddd429ffbe26877f5a2a3d2bcce8b3e411..9d6d3c50e88a750921edbc80715f7460fc154b88 100644 (file)
@@ -1414,7 +1414,7 @@ bool wxListLineData::SetAttributes(wxDC *dc,
 #ifdef __WXMAC__
     {
         if (m_owner->HasFocus()
-#if !defined(__WXUNIVERSAL__)
+#if !defined(__WXUNIVERSAL__) && wxOSX_USE_CARBON
                 && IsControlActive( (ControlRef)m_owner->GetHandle() )
 #endif
         )
@@ -1478,7 +1478,7 @@ void wxListLineData::Draw( wxDC *dc )
         {
             int flags = wxCONTROL_SELECTED;
             if (m_owner->HasFocus()
-#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__)
+#if defined( __WXMAC__ ) && !defined(__WXUNIVERSAL__) && wxOSX_USE_CARBON
                 && IsControlActive( (ControlRef)m_owner->GetHandle() )
 #endif
             )