projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added wxRichTextXMLHandler::RegisterNodeName so custom content classes can be added...
[wxWidgets.git]
/
interface
/
wx
/
fdrepdlg.h
diff --git
a/interface/wx/fdrepdlg.h
b/interface/wx/fdrepdlg.h
index e704d00c4e80ae4df015f1eea314cf7335229057..ca61b13e168f2f8aaa906896c03b832f872d75b7 100644
(file)
--- a/
interface/wx/fdrepdlg.h
+++ b/
interface/wx/fdrepdlg.h
@@
-3,7
+3,7
@@
// Purpose: interface of wxFindDialogEvent, wxFindReplaceDialog
// Author: wxWidgets team
// RCS-ID: $Id$
// Purpose: interface of wxFindDialogEvent, wxFindReplaceDialog
// Author: wxWidgets team
// RCS-ID: $Id$
-// Licence: wxWindows licen
s
e
+// Licence: wxWindows licen
c
e
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
@@
-20,7
+20,7
@@
enum wxFindReplaceFlags
/** case sensitive search/replace selected (otherwise - case insensitive) */
wxFR_MATCHCASE = 4
/** case sensitive search/replace selected (otherwise - case insensitive) */
wxFR_MATCHCASE = 4
-}
+}
;
/**
/**
@@
-39,14
+39,13
@@
enum wxFindReplaceDialogStyles
/** don't allow whole word searching */
wxFR_NOWHOLEWORD = 8
/** don't allow whole word searching */
wxFR_NOWHOLEWORD = 8
-}
+}
;
/**
@class wxFindDialogEvent
/**
@class wxFindDialogEvent
- @wxheader{fdrepdlg.h}
- wxFindReplaceDialog events
+ wxFindReplaceDialog events
.
@beginEventTable{wxFindDialogEvent}
@event{EVT_FIND(id, func)}
@beginEventTable{wxFindDialogEvent}
@event{EVT_FIND(id, func)}
@@
-68,7
+67,7
@@
class wxFindDialogEvent : public wxCommandEvent
{
public:
/**
{
public:
/**
- Constuctor used by wxWidgets only.
+ Const
r
uctor used by wxWidgets only.
*/
wxFindDialogEvent(wxEventType commandType = wxEVT_NULL,
int id = 0);
*/
wxFindDialogEvent(wxEventType commandType = wxEVT_NULL,
int id = 0);
@@
-96,11
+95,16
@@
public:
const wxString& GetReplaceString() const;
};
const wxString& GetReplaceString() const;
};
+wxEventType wxEVT_COMMAND_FIND;
+wxEventType wxEVT_COMMAND_FIND_NEXT;
+wxEventType wxEVT_COMMAND_FIND_REPLACE;
+wxEventType wxEVT_COMMAND_FIND_REPLACE_ALL;
+wxEventType wxEVT_COMMAND_FIND_CLOSE;
+
/**
@class wxFindReplaceData
/**
@class wxFindReplaceData
- @wxheader{fdrepdlg.h}
wxFindReplaceData holds the data for wxFindReplaceDialog.
wxFindReplaceData holds the data for wxFindReplaceDialog.
@@
-113,20
+117,20
@@
public:
dialog and calling them has no effect later.
@library{wxcore}
dialog and calling them has no effect later.
@library{wxcore}
- @category{data}
+ @category{
cmndlg,
data}
*/
class wxFindReplaceData : public wxObject
{
public:
/**
*/
class wxFindReplaceData : public wxObject
{
public:
/**
- Constuctor initializes the flags to default value (0).
+ Const
r
uctor initializes the flags to default value (0).
*/
wxFindReplaceData(wxUint32 flags = 0);
/**
Get the string to find.
*/
*/
wxFindReplaceData(wxUint32 flags = 0);
/**
Get the string to find.
*/
- const wxString GetFindString();
+ const wxString
&
GetFindString();
/**
Get the combination of @c wxFindReplaceFlags values.
/**
Get the combination of @c wxFindReplaceFlags values.
@@
-136,7
+140,7
@@
public:
/**
Get the replacement string.
*/
/**
Get the replacement string.
*/
- const wxString GetReplaceString();
+ const wxString
&
GetReplaceString();
/**
Set the string to find (used as initial value by the dialog).
/**
Set the string to find (used as initial value by the dialog).
@@
-158,7
+162,6
@@
public:
/**
@class wxFindReplaceDialog
/**
@class wxFindReplaceDialog
- @wxheader{fdrepdlg.h}
wxFindReplaceDialog is a standard modeless dialog which is used to allow the
user to search for some text (and possibly replace it with something else).
wxFindReplaceDialog is a standard modeless dialog which is used to allow the
user to search for some text (and possibly replace it with something else).
@@
-192,7
+195,7
@@
public:
/**
Destructor.
*/
/**
Destructor.
*/
- ~wxFindReplaceDialog();
+
virtual
~wxFindReplaceDialog();
/**
Creates the dialog; use wxWindow::Show to show it on screen.
/**
Creates the dialog; use wxWindow::Show to show it on screen.