GTK
- added docview sample, doesn't work :-( - changed wxBmpButton callback name git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@72 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
1
samples/docview/Makefile
Normal file
1
samples/docview/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include ../../src/gtk/setup/general/makeapp
|
26
samples/docview/Makefile.in
Normal file
26
samples/docview/Makefile.in
Normal file
@@ -0,0 +1,26 @@
|
||||
# WXXT base directory
|
||||
WXBASEDIR=@WXBASEDIR@
|
||||
|
||||
# set the OS type for compilation
|
||||
OS=@OS@
|
||||
# compile a library only
|
||||
RULE=bin
|
||||
|
||||
# define library name
|
||||
BIN_TARGET=test
|
||||
# define library sources
|
||||
BIN_SRC=\
|
||||
doc.cpp view.cpp docview.cpp
|
||||
|
||||
#define library objects
|
||||
BIN_OBJ=\
|
||||
doc.o view.o docview.o
|
||||
|
||||
# additional things needed to link
|
||||
BIN_LINK=
|
||||
|
||||
# additional things needed to compile
|
||||
ADD_COMPILE=
|
||||
|
||||
# include the definitions now
|
||||
include ../../../template.mak
|
@@ -258,7 +258,7 @@ bool TextEditDocument::IsModified(void) const
|
||||
TextEditView *view = (TextEditView *)GetFirstView();
|
||||
if (view)
|
||||
{
|
||||
return (wxDocument::IsModified() || view->textsw->Modified());
|
||||
return (wxDocument::IsModified() || view->textsw->IsModified());
|
||||
}
|
||||
else
|
||||
return wxDocument::IsModified();
|
||||
|
Reference in New Issue
Block a user