Misc changes, including to wxPropertyForm and sample to make it work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -242,6 +242,20 @@ void wxPropertyFormView::OnCommand(wxWindow& win, wxCommandEvent& event)
|
||||
}
|
||||
}
|
||||
|
||||
// Extend event processing to call OnCommand
|
||||
bool wxPropertyFormView::ProcessEvent(wxEvent& event)
|
||||
{
|
||||
if (wxEvtHandler::ProcessEvent(event))
|
||||
return TRUE;
|
||||
else if (event.IsCommandEvent() && !event.IsKindOf(CLASSINFO(wxUpdateUIEvent)) && event.GetEventObject())
|
||||
{
|
||||
OnCommand(* ((wxWindow*) event.GetEventObject()), (wxCommandEvent&) event);
|
||||
return TRUE;
|
||||
}
|
||||
else
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
void wxPropertyFormView::OnDoubleClick(wxControl *item)
|
||||
{
|
||||
if (!m_propertySheet)
|
||||
|
@@ -140,7 +140,7 @@ D=$(D)DLL
|
||||
WXLIB=$(WXDIR)\lib\$(WXLIBNAME).lib
|
||||
|
||||
INC=-I$(WXINC) -I$(WXDIR)/src/png -I$(WXDIR)/src/zlib -I$(WXDIR)/src/jpeg $(EXTRAINC)
|
||||
LIBS = $(EXTRALIBS) $(WXLIB) $(WINLIBS) $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\zlib.lib $(WXDIR)\lib\jpeg.lib $(WXDIR)\lib\xpm.lib
|
||||
LIBS = $(EXTRALIBS) $(WXLIB) $(WINLIBS) $(WXDIR)\lib\winpng.lib $(WXDIR)\lib\zlib.lib # $(WXDIR)\lib\jpeg.lib $(WXDIR)\lib\xpm.lib
|
||||
|
||||
MAKEPRECOMP=/YcWX/WXPREC.H
|
||||
OPTIONS=
|
||||
|
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
# This file was automatically generated by tmake at 17:51, 1999/09/20
|
||||
# This file was automatically generated by tmake at 16:55, 1999/09/29
|
||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE B32.T!
|
||||
|
||||
#
|
||||
@@ -139,6 +139,7 @@ COMMONOBJS = \
|
||||
$(MSWDIR)\hash.obj \
|
||||
$(MSWDIR)\helpbase.obj \
|
||||
$(MSWDIR)\http.obj \
|
||||
$(MSWDIR)\imagall.obj \
|
||||
$(MSWDIR)\imagbmp.obj \
|
||||
$(MSWDIR)\image.obj \
|
||||
$(MSWDIR)\imaggif.obj \
|
||||
@@ -580,6 +581,8 @@ $(MSWDIR)\helpbase.obj: $(COMMDIR)\helpbase.$(SRCSUFF)
|
||||
|
||||
$(MSWDIR)\http.obj: $(COMMDIR)\http.$(SRCSUFF)
|
||||
|
||||
$(MSWDIR)\imagall.obj: $(COMMDIR)\imagall.$(SRCSUFF)
|
||||
|
||||
$(MSWDIR)\imagbmp.obj: $(COMMDIR)\imagbmp.$(SRCSUFF)
|
||||
|
||||
$(MSWDIR)\image.obj: $(COMMDIR)\image.$(SRCSUFF)
|
||||
@@ -834,7 +837,10 @@ cleanall: clean
|
||||
|
||||
|
||||
MFTYPE=b32
|
||||
makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
|
||||
# Can't use this or we'll have to distribute all tmake files with wxWindows
|
||||
# makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
|
||||
|
||||
self:
|
||||
cd $(WXWIN)\distrib\msw\tmake
|
||||
tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
|
||||
copy makefile.$(MFTYPE) $(WXWIN)\src\msw
|
||||
|
@@ -1,6 +1,6 @@
|
||||
|
||||
|
||||
# This file was automatically generated by tmake at 17:51, 1999/09/20
|
||||
# This file was automatically generated by tmake at 16:55, 1999/09/29
|
||||
# DO NOT CHANGE THIS FILE, YOUR CHANGES WILL BE LOST! CHANGE BCC.T!
|
||||
|
||||
#
|
||||
@@ -128,6 +128,7 @@ COMMONOBJS = \
|
||||
$(MSWDIR)\gifdecod.obj \
|
||||
$(MSWDIR)\hash.obj \
|
||||
$(MSWDIR)\helpbase.obj \
|
||||
$(MSWDIR)\imagall.obj \
|
||||
$(MSWDIR)\imagbmp.obj \
|
||||
$(MSWDIR)\image.obj \
|
||||
$(MSWDIR)\imaggif.obj \
|
||||
@@ -484,6 +485,8 @@ $(MSWDIR)\hash.obj: $(COMMDIR)\hash.$(SRCSUFF)
|
||||
|
||||
$(MSWDIR)\helpbase.obj: $(COMMDIR)\helpbase.$(SRCSUFF)
|
||||
|
||||
$(MSWDIR)\imagall.obj: $(COMMDIR)\imagall.$(SRCSUFF)
|
||||
|
||||
$(MSWDIR)\imagbmp.obj: $(COMMDIR)\imagbmp.$(SRCSUFF)
|
||||
|
||||
$(MSWDIR)\image.obj: $(COMMDIR)\image.$(SRCSUFF)
|
||||
@@ -729,7 +732,10 @@ cleanall: clean
|
||||
|
||||
|
||||
MFTYPE=bcc
|
||||
makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
|
||||
# Can't use this or we'll have to distribute all tmake files with wxWindows
|
||||
#makefile.$(MFTYPE) : $(WXWIN)\distrib\msw\tmake\filelist.txt $(WXWIN)\distrib\msw\tmake\$(MFTYPE).t
|
||||
|
||||
self:
|
||||
cd $(WXWIN)\distrib\msw\tmake
|
||||
tmake -t $(MFTYPE) wxwin.pro -o makefile.$(MFTYPE)
|
||||
copy makefile.$(MFTYPE) $(WXWIN)\src\msw
|
||||
|
Reference in New Issue
Block a user