USE_xxx constants renamed to wxUSE_xxx. This is an incompatible change, you
must recompile everything after upgrading! git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
#include "wx/utils.h"
|
||||
#endif
|
||||
|
||||
#if USE_OWNER_DRAWN
|
||||
#if wxUSE_OWNER_DRAWN
|
||||
#include "wx/ownerdrw.h"
|
||||
#endif
|
||||
|
||||
@@ -177,7 +177,7 @@ void wxMenu::Append(wxMenuItem *pItem)
|
||||
LPCSTR pData;
|
||||
wxString name("");
|
||||
|
||||
#if USE_OWNER_DRAWN
|
||||
#if wxUSE_OWNER_DRAWN
|
||||
if ( pItem->IsOwnerDrawn() ) { // want to get {Measure|Draw}Item messages?
|
||||
// item draws itself, pass pointer to it in data parameter
|
||||
flags |= MF_OWNERDRAW;
|
||||
|
Reference in New Issue
Block a user