Removed a memory leak in fs_zip.cpp; trivial formatting in helpdata.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_2_BRANCH@7191 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -86,7 +86,7 @@ slashes.
|
|||||||
Returns TRUE if the file exists. It also returns TRUE if the file is
|
Returns TRUE if the file exists. It also returns TRUE if the file is
|
||||||
a directory.
|
a directory.
|
||||||
|
|
||||||
\membersection{::wxFileModificationTime}
|
\membersection{::wxFileModificationTime}\label{wxfilemodificationtime}
|
||||||
|
|
||||||
\func{time\_t}{wxFileModificationTime}{\param{const wxString\& }{filename}}
|
\func{time\_t}{wxFileModificationTime}{\param{const wxString\& }{filename}}
|
||||||
|
|
||||||
|
@@ -1534,6 +1534,11 @@ Note that the size passed is of
|
|||||||
the whole window: call \helpref{wxWindow::GetClientSize}{wxwindowgetclientsize} for the area which may be
|
the whole window: call \helpref{wxWindow::GetClientSize}{wxwindowgetclientsize} for the area which may be
|
||||||
used by the application.
|
used by the application.
|
||||||
|
|
||||||
|
When a window is resized, usually only a small part of the window is damaged and you
|
||||||
|
may only need to repaint that area. However, if your drawing depends on the size of the window,
|
||||||
|
you may need to clear the DC explicitly and repaint the whole window. In which case, you
|
||||||
|
may need to call \helpref{wxWindow::Refresh}{wxwindowrefresh} to invalidate the entire window.
|
||||||
|
|
||||||
\wxheading{See also}
|
\wxheading{See also}
|
||||||
|
|
||||||
\helpref{wxSizeEvent}{wxsizeevent},\rtfsp
|
\helpref{wxSizeEvent}{wxsizeevent},\rtfsp
|
||||||
|
@@ -12,6 +12,7 @@
|
|||||||
WXDIR = $(WXWIN)
|
WXDIR = $(WXWIN)
|
||||||
|
|
||||||
PROGRAM=demo
|
PROGRAM=demo
|
||||||
|
EXTRALIBS=htmlhelp.lib
|
||||||
OBJECTS = $(PROGRAM).obj
|
OBJECTS = $(PROGRAM).obj
|
||||||
|
|
||||||
!include $(WXDIR)\src\makeprog.vc
|
!include $(WXDIR)\src\makeprog.vc
|
||||||
|
@@ -85,7 +85,12 @@ wxFSFile* wxZipFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString& l
|
|||||||
GetAnchor(location),
|
GetAnchor(location),
|
||||||
wxDateTime(wxFileModificationTime(left)));
|
wxDateTime(wxFileModificationTime(left)));
|
||||||
}
|
}
|
||||||
else return NULL;
|
else
|
||||||
|
{
|
||||||
|
if (s)
|
||||||
|
delete s;
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user