mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-09-22 14:20:35 +08:00
Typo correction patch [ 1208110 ] Lots of typo corrections
Olly Betts git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -149,7 +149,7 @@ built. In Bakefile, you specify the target by creating a tag named with the
|
||||
target type. The possible names for targets are:
|
||||
|
||||
exe create an executable file
|
||||
dll create a shared libary
|
||||
dll create a shared library
|
||||
lib create a static library
|
||||
module create a library that is loaded at runtime (i.e. a plugin)
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ FIXME: this template has (at least) the following bugs:
|
||||
<!-- In MSVC these are the different build -->
|
||||
<!-- configurations you can have (in the build menu), -->
|
||||
<!-- and in autoconf is enabled with enable-xxx=xx. -->
|
||||
<!-- For other compilers a seperate configuration -->
|
||||
<!-- For other compilers a separate configuration -->
|
||||
<!-- file is created (such as config.gcc on gcc) -->
|
||||
<!-- which has several options a user can modify. -->
|
||||
<!-- -->
|
||||
@@ -155,7 +155,7 @@ FIXME: this template has (at least) the following bugs:
|
||||
<!-- -->
|
||||
<!-- The "base class" of all our build targets -->
|
||||
<!-- This links with the appropriate native -->
|
||||
<!-- libraries required by the platform, the libaries -->
|
||||
<!-- libraries required by the platform, the libraries -->
|
||||
<!-- we want for our stuff, and the wxWindows libs. -->
|
||||
|
||||
|
||||
|
||||
@@ -109,11 +109,11 @@ def getVersion():
|
||||
major = minor = release = None
|
||||
for l in lines:
|
||||
if not l.startswith('#define'): continue
|
||||
splitted = l.strip().split()
|
||||
if splitted[0] != '#define': continue
|
||||
if len(splitted) < 3: continue
|
||||
name = splitted[1]
|
||||
value = splitted[2]
|
||||
splitline = l.strip().split()
|
||||
if splitline[0] != '#define': continue
|
||||
if len(splitline) < 3: continue
|
||||
name = splitline[1]
|
||||
value = splitline[2]
|
||||
if value == None: continue
|
||||
if name == 'wxMAJOR_VERSION': major = int(value)
|
||||
if name == 'wxMINOR_VERSION': minor = int(value)
|
||||
|
||||
+2
-2
@@ -3296,7 +3296,7 @@ dnl ----------------------------------------------------------------
|
||||
IODBC_C_SRC=""
|
||||
|
||||
|
||||
dnl ODBC is handled seperately for MSW
|
||||
dnl ODBC is handled separately for MSW
|
||||
if test "$TOOLKIT" != "MSW" ; then
|
||||
|
||||
if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
|
||||
@@ -3468,7 +3468,7 @@ if test "$wxUSE_OPENGL" = "yes"; then
|
||||
|
||||
if test "x$OPENGL_LIBS" = "x"; then
|
||||
dnl it should be an error and not a warning because OpenGL is not on
|
||||
dnl by default and so if it had been explicitely requested, we
|
||||
dnl by default and so if it had been explicitly requested, we
|
||||
dnl shouldn't just fall back to compiling the library without it
|
||||
AC_MSG_ERROR(OpenGL libraries not available)
|
||||
fi
|
||||
|
||||
@@ -30,8 +30,8 @@ No base class
|
||||
|
||||
\twocolwidtha{7cm}
|
||||
\begin{twocollist}\itemsep=0pt
|
||||
\twocolitem{{\bf wxSOUND\_NOERR}}{No error occured}
|
||||
\twocolitem{{\bf wxSOUND\_IOERR}}{An input/output error occured, it may concern
|
||||
\twocolitem{{\bf wxSOUND\_NOERR}}{No error occurred}
|
||||
\twocolitem{{\bf wxSOUND\_IOERR}}{An input/output error occurred, it may concern
|
||||
either a driver or a file}
|
||||
\twocolitem{{\bf wxSOUND\_INVFRMT}}{The sound format passed to the function is
|
||||
invalid. Generally, it means that you passed out of range values to the codec
|
||||
@@ -271,7 +271,7 @@ Sets the event handler: if it is non-null, all events are routed to it.
|
||||
|
||||
\constfunc{wxSoundError}{GetError}{\void}
|
||||
|
||||
It returns the last error which occured.
|
||||
It returns the last error which occurred.
|
||||
|
||||
\membersection{wxSoundStream::GetLastAccess}\label{wxsoundstreamgetlastaccess}
|
||||
|
||||
@@ -290,5 +290,5 @@ until the IO queue has at least one empty entry.
|
||||
|
||||
\func{void}{OnSoundEvent}{\param{int }{evt}}
|
||||
|
||||
It is called by the wxSoundStream when a new sound event occured.
|
||||
It is called by the wxSoundStream when a new sound event occurred.
|
||||
|
||||
|
||||
@@ -888,7 +888,7 @@ class cbBarInfo : public wxObject
|
||||
{
|
||||
DECLARE_DYNAMIC_CLASS( cbBarInfo )
|
||||
public:
|
||||
// textual name, by which this bar is refered in layout-customization dialogs
|
||||
// textual name, by which this bar is referred in layout-customization dialogs
|
||||
wxString mName;
|
||||
|
||||
// stores bar's bounds in pane's coordinates
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
|
||||
#define wxFPB_EXTRA_X 10
|
||||
#define wxFPB_EXTRA_Y 4
|
||||
#define wxFPB_BMP_RIGHTSPACE 2 // pixels of the bmp to be alligned from the right filled with space
|
||||
#define wxFPB_BMP_RIGHTSPACE 2 // pixels of the bmp to be aligned from the right filled with space
|
||||
|
||||
enum
|
||||
{
|
||||
|
||||
@@ -96,7 +96,7 @@ WX_DEFINE_ARRAY_PTR(wxFoldPanelItem *, wxFoldPanelItemArray);
|
||||
|
||||
This control is easy to use. Simply create it as a child for a panel or sash window, and populate panels with
|
||||
wxFoldPanelBar::AddFoldPanel(). Then use the wxFoldPanelBar::AddFoldPanelWindow() to add wxWindow derived controls
|
||||
to the current fold panel. Use wxFoldPanelBar::AddFoldPanelSeperator() to put separators between the groups of
|
||||
to the current fold panel. Use wxFoldPanelBar::AddFoldPanelSeparator() to put separators between the groups of
|
||||
controls that need a visual separator to group them together. After all is constructed, the user can fold
|
||||
the panels by doubleclicking on the bar or single click on the arrow, which will indicate the collapsed or
|
||||
expanded state.
|
||||
@@ -125,12 +125,12 @@ private:
|
||||
void RefreshPanelsFrom(wxFoldPanelItem *item);
|
||||
|
||||
/** Returns the length of the panels that are expanded and collapsed. This is useful to determine
|
||||
quickly what size is used to display, and what is left at the bottom (right) to allign
|
||||
quickly what size is used to display, and what is left at the bottom (right) to align
|
||||
the collapsed panels. */
|
||||
int GetPanelsLength(int &collapsed, int &expanded);
|
||||
|
||||
/** Reposition all the collapsed panels to the bottom. When it is not possible to
|
||||
allign them to the bottom, stick them behind the visible panels. The Rect holds the
|
||||
align them to the bottom, stick them behind the visible panels. The Rect holds the
|
||||
slack area left between last repositioned panel and the bottom panels. This needs to
|
||||
get a refresh */
|
||||
wxRect RepositionCollapsedToBottom();
|
||||
@@ -167,9 +167,9 @@ public:
|
||||
|
||||
/** Adds a wxWindow derived class to the referenced wxFoldPanel. IMPORTANT: Make the to be created window,
|
||||
child of the wxFoldPanel. See example that follows. The flags to be used are:
|
||||
- wxFPB_ALIGN_WIDTH: Which means the wxWindow to be added will be alligned to fit the width of the
|
||||
- wxFPB_ALIGN_WIDTH: Which means the wxWindow to be added will be aligned to fit the width of the
|
||||
wxFoldPanel when it is resized. Very handy for sizer items, buttons and text boxes.
|
||||
- wxFPB_ALIGN_LEFT: Alligns left instead of fitting the width of the child window to be added. Use either
|
||||
- wxFPB_ALIGN_LEFT: Aligns left instead of fitting the width of the child window to be added. Use either
|
||||
this one or wxFPB_ALIGN_WIDTH.
|
||||
|
||||
The wxWindow to be added can be slightly indented from left and right so it is more visibly placed
|
||||
@@ -196,7 +196,7 @@ public:
|
||||
// color and also the indents and width alligning like a control.
|
||||
m_pnl->AddFoldPanelSeperator(item);
|
||||
|
||||
// now add a text ctrl. Also very easy. Allign this on width so that when the control gets wider
|
||||
// now add a text ctrl. Also very easy. Align this on width so that when the control gets wider
|
||||
// the text control also sizes along.
|
||||
m_pnl->AddFoldPanelWindow(item, new wxTextCtrl(item.GetParent(), wxID_ANY, wxT("Comment")), wxFPB_ALIGN_WIDTH, wxFPB_DEFAULT_SPACING, 20);
|
||||
|
||||
@@ -206,8 +206,8 @@ public:
|
||||
int Spacing = wxFPB_DEFAULT_SPACING, int leftSpacing = wxFPB_DEFAULT_LEFTSPACING,
|
||||
int rightSpacing = wxFPB_DEFAULT_RIGHTSPACING);
|
||||
|
||||
/** Adds a seperator line to the current wxFoldPanel. The seperator is a simple line which is drawn and is no
|
||||
real component. It can be used to seperate groups of controls which belong to eachother. The colour is
|
||||
/** Adds a separator line to the current wxFoldPanel. The separator is a simple line which is drawn and is no
|
||||
real component. It can be used to separate groups of controls which belong to each other. The colour is
|
||||
adjustable, and it takes the same ySpacing, leftSpacing and rightSpacing as AddFoldPanelWindow(). */
|
||||
int AddFoldPanelSeperator(const wxFoldPanel &panel, const wxColour &color = wxColour(167,167,167),
|
||||
int Spacing = wxFPB_DEFAULT_SPACING, int leftSpacing = wxFPB_DEFAULT_LEFTLINESPACING,
|
||||
|
||||
@@ -121,13 +121,13 @@ public:
|
||||
};
|
||||
|
||||
// resize the element, whatever it is. A separator or
|
||||
// line will be always alligned by width or hight
|
||||
// line will be always aligned by width or height
|
||||
// depending on orientation of the whole panel
|
||||
|
||||
void ResizeItem(int size, bool vertical) {
|
||||
if(m_flags & wxFPB_ALIGN_WIDTH)
|
||||
{
|
||||
// allign by taking full width
|
||||
// align by taking full width
|
||||
int mySize = size - m_leftSpacing - m_rightSpacing;
|
||||
|
||||
if(mySize < 0)
|
||||
@@ -185,7 +185,7 @@ public:
|
||||
virtual ~wxFoldPanelItem();
|
||||
|
||||
/** Add a window item to the list of items on this panel. The flags are wxFPB_ALIGN_LEFT for a non sizing
|
||||
window element, and wxFPB_ALIGN_WIDTH for a width alligned item. The ySpacing parameter reserves a number
|
||||
window element, and wxFPB_ALIGN_WIDTH for a width aligned item. The ySpacing parameter reserves a number
|
||||
of pixels before the window element, and leftSpacing is an indent. rightSpacing is only relevant when the
|
||||
style wxFPB_ALIGN_WIDTH is chosen. */
|
||||
void AddWindow(wxWindow *window, int flags, int ySpacing, int leftSpacing, int rightSpacing);
|
||||
|
||||
@@ -45,8 +45,8 @@ typedef enum {
|
||||
|
||||
// ---------------------
|
||||
// wxSoundError:
|
||||
// - wxSOUND_NOERR: No error occured
|
||||
// - wxSOUND_IOERR: an input/output error occured, it may concern either
|
||||
// - wxSOUND_NOERR: No error occurred
|
||||
// - wxSOUND_IOERR: an input/output error occurred, it may concern either
|
||||
// a driver or a file
|
||||
// - wxSOUND_INVFRMT: the sound format passed to the function is invalid.
|
||||
// Generally, it means that you passed out of range values
|
||||
@@ -83,7 +83,7 @@ class WXDLLIMPEXP_MMEDIA wxSoundStream;
|
||||
// ---------------------
|
||||
// wxSoundCallback(stream, evt, cdata): C callback for sound event.
|
||||
// - stream: current wxSoundStream
|
||||
// - evt: the sound event which has occured, it may be wxSOUND_INPUT,
|
||||
// - evt: the sound event which has occurred, it may be wxSOUND_INPUT,
|
||||
// wxSOUND_OUTPUT or wxSOUND_DUPLEX
|
||||
// - cdata: User callback data
|
||||
// ---------------------
|
||||
|
||||
@@ -426,7 +426,7 @@ void wxDynamicToolBar::SizeToolWindows()
|
||||
info.mRect.height = mSepartorSize;
|
||||
}
|
||||
|
||||
// Do we need to set a new size to a seperator object?
|
||||
// Do we need to set a new size to a separator object?
|
||||
if ( info.mpToolWnd )
|
||||
{
|
||||
info.mpToolWnd->SetSize( info.mRect.x,
|
||||
|
||||
@@ -352,7 +352,7 @@ int wxFoldPanelBar::GetPanelsLength(int &collapsed, int &expanded)
|
||||
int value = 0;
|
||||
|
||||
// assumed here that all the panels that are expanded
|
||||
// are positioned after eachother from 0,0 to end.
|
||||
// are positioned after each other from 0,0 to end.
|
||||
|
||||
for(size_t j = 0; j < m_panels.GetCount(); j++)
|
||||
{
|
||||
|
||||
@@ -377,7 +377,7 @@ bool wxSoundStreamPcm::SetSoundFormat(const wxSoundFormatBase& format)
|
||||
if (m_prebuffer)
|
||||
delete[] m_prebuffer;
|
||||
|
||||
// We try to minimize the need of dynamic memory allocation by preallocating a buffer. But
|
||||
// We try to minimize the need for dynamic memory allocation by preallocating a buffer. But
|
||||
// to be sure it will be efficient we minimize the best size.
|
||||
if (m_multiplier_in < m_multiplier_out) {
|
||||
m_prebuffer_size = (wxUint32)(m_sndio->GetBestSize() *
|
||||
|
||||
@@ -382,7 +382,7 @@ wxSoundInfoHeader *wxSoundStreamWin::AllocHeader(int mode)
|
||||
// AllocHeaders() allocates WXSOUND_MAX_QUEUE (= 128) blocks for an operation
|
||||
// queue. It uses AllocHeader() for each element.
|
||||
//
|
||||
// Once it has allocated all blocks, it returns true and if an error occured
|
||||
// Once it has allocated all blocks, it returns true and if an error occurred
|
||||
// it returns false.
|
||||
// -------------------------------------------------------------------------
|
||||
bool wxSoundStreamWin::AllocHeaders(int mode)
|
||||
|
||||
@@ -15,7 +15,7 @@ class AutoComplete {
|
||||
char stopChars[256];
|
||||
char fillUpChars[256];
|
||||
char separator;
|
||||
char typesep; // Type seperator
|
||||
char typesep; // Type separator
|
||||
|
||||
public:
|
||||
bool ignoreCase;
|
||||
@@ -50,7 +50,7 @@ public:
|
||||
void SetSeparator(char separator_);
|
||||
char GetSeparator();
|
||||
|
||||
/// The typesep character is used for seperating the word from the type
|
||||
/// The typesep character is used for separating the word from the type
|
||||
void SetTypesep(char separator_);
|
||||
char GetTypesep();
|
||||
|
||||
|
||||
@@ -160,8 +160,8 @@ static void ColouriseMETAPOSTDoc(
|
||||
int currentInterface = CheckMETAPOSTInterface(startPos,length,styler,defaultInterface) ;
|
||||
|
||||
// 0 no keyword highlighting
|
||||
// 1 metapost keyword hightlighting
|
||||
// 2+ metafun keyword hightlighting
|
||||
// 1 metapost keyword highlighting
|
||||
// 2+ metafun keyword highlighting
|
||||
|
||||
int extraInterface = 0 ;
|
||||
|
||||
|
||||
@@ -399,7 +399,7 @@ wxFprintf(m_wxr,_T("[8, 'wxSWISS', 'wxNORMAL', 'wxNORMAL', 0, 'MS Sans Serif']],
|
||||
|
||||
|
||||
|
||||
bool rc2wxr::Seperator(int ch)
|
||||
bool rc2wxr::Separator(int ch)
|
||||
|
||||
{
|
||||
|
||||
@@ -513,7 +513,7 @@ return tok;
|
||||
|
||||
|
||||
|
||||
while (Seperator(ch))
|
||||
while (Separator(ch))
|
||||
|
||||
{
|
||||
|
||||
@@ -541,7 +541,7 @@ m_done=true;
|
||||
|
||||
|
||||
|
||||
while (!Seperator(ch))
|
||||
while (!Separator(ch))
|
||||
|
||||
{
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ private:
|
||||
void ParseStaticText();
|
||||
void ParseTextCtrl();
|
||||
void ParsePushButton();
|
||||
bool Seperator(int ch);
|
||||
bool Separator(int ch);
|
||||
void ParseGroupBox();
|
||||
void ReadRect(int & x, int & y, int & width, int & height);
|
||||
wxString GetToken();
|
||||
|
||||
@@ -342,7 +342,7 @@ void rc2xml::ParsePushButton(wxString phrase, wxString varname)
|
||||
}
|
||||
|
||||
|
||||
bool rc2xml::Seperator(int ch)
|
||||
bool rc2xml::Separator(int ch)
|
||||
{
|
||||
//if ((ch==' ')|(ch==',')|(ch==13)|(ch==10)|(ch=='|')|(ch=='\t'))
|
||||
if ((ch==' ')|(ch==',')|(ch==13)|(ch==10)|(ch=='\t'))
|
||||
@@ -387,7 +387,7 @@ bool rc2xml::ReadRect(int & x, int & y, int & width, int & height)
|
||||
return ret; // check for more parameters
|
||||
}
|
||||
|
||||
wxString rc2xml::GetToken(bool *listseperator)
|
||||
wxString rc2xml::GetToken(bool *listseparator)
|
||||
{
|
||||
wxString token=wxEmptyString;
|
||||
|
||||
@@ -405,7 +405,7 @@ wxString rc2xml::GetToken(bool *listseperator)
|
||||
return token;
|
||||
}
|
||||
|
||||
while (Seperator(ch))
|
||||
while (Separator(ch))
|
||||
{
|
||||
ReadChar(ch);
|
||||
if (m_done)
|
||||
@@ -418,7 +418,7 @@ wxString rc2xml::GetToken(bool *listseperator)
|
||||
}
|
||||
|
||||
|
||||
while (!Seperator(ch))
|
||||
while (!Separator(ch))
|
||||
{
|
||||
token += (char)ch;
|
||||
ReadChar(ch);
|
||||
@@ -427,8 +427,8 @@ wxString rc2xml::GetToken(bool *listseperator)
|
||||
if (ch == EOF)
|
||||
m_done = true;
|
||||
|
||||
if (listseperator)
|
||||
*listseperator = (ch == ',');
|
||||
if (listseparator)
|
||||
*listseparator = (ch == ',');
|
||||
return token;
|
||||
}
|
||||
|
||||
|
||||
@@ -62,10 +62,10 @@ protected:
|
||||
void ParseRadioButton(wxString phrase,wxString varname);
|
||||
void ParseCheckBox(wxString phrase,wxString varname);
|
||||
void ParsePushButton(wxString phrase, wxString varname);
|
||||
bool Seperator(int ch);
|
||||
bool Separator(int ch);
|
||||
void ParseGroupBox(wxString phrase, wxString varname);
|
||||
bool ReadRect(int & x, int & y, int & width, int & height);
|
||||
wxString GetToken(bool *listseperator = 0);
|
||||
wxString GetToken(bool *listseparator = 0);
|
||||
wxString GetQuoteField();
|
||||
wxString GetStringQuote();
|
||||
void ReadChar(int &ch);
|
||||
|
||||
@@ -7,7 +7,7 @@ under MSWindows 3.1+. Later the rules of the game will be explained for
|
||||
the lucky ones of you that have never used Windows.
|
||||
|
||||
2. Installation
|
||||
If you are reading this file, I suppose you have succesfully unpacked the
|
||||
If you are reading this file, I suppose you have successfully unpacked the
|
||||
files in a directory of your hard disk :-). You should already have
|
||||
installed wxWin on your system.
|
||||
Now you have to modify makefile.bcc
|
||||
|
||||
@@ -57,7 +57,7 @@ wxChar *GetExtendedDBErrorMsg(wxChar *ErrFile, int ErrLine)
|
||||
msg.Append (_T("\nODBC errors:\n"));
|
||||
// msg += _T("\n");
|
||||
/* Scan through each database connection displaying
|
||||
* any ODBC errors that have occured. */
|
||||
* any ODBC errors that have occurred. */
|
||||
wxDbList *pDbList;
|
||||
for (pDbList = PtrBegDbList; pDbList; pDbList = pDbList->PtrNext)
|
||||
{
|
||||
|
||||
@@ -235,7 +235,7 @@ bool MainApp::OnInit(void) // Does everything needed for a program start
|
||||
frame->pDoc->p_Splitter = frame->p_Splitter;
|
||||
frame->pDoc->p_Splitter->pDoc = frame->pDoc; // ControlBase: saving the Sash
|
||||
//---------------------------------------------------------------------------------------
|
||||
//-- Problem : GetClientSize(Width,Hight) are not the same as the values given in the ---
|
||||
//-- Problem : GetClientSize(Width,Height) are not the same as the values given in the ---
|
||||
//-- construction of the Frame. ---
|
||||
//-- Solved : GetClientSize is called here and the difference is noted. When the ---
|
||||
//-- Window is closed the diff. is added to the result of GetClientSize. ---
|
||||
|
||||
@@ -94,7 +94,7 @@ msgstr "\n"
|
||||
|
||||
#: ../browsedb.cpp:117
|
||||
msgid "\n"
|
||||
"-E-> BrowserDB::OnStartDB() : DB CONNECTION ERROR : A problem occured while trying to get a connection to the data source"
|
||||
"-E-> BrowserDB::OnStartDB() : DB CONNECTION ERROR : A problem occurred while trying to get a connection to the data source"
|
||||
msgstr "\n"
|
||||
"-E-> BrowserDB::OnStartDB() : DB VERBINDUNGSFEHLER : Verbindungsaufbau zur Datenquelle nicht möglich"
|
||||
|
||||
@@ -300,7 +300,7 @@ msgid "-E-> unknown Format(%d) - sql(%d)"
|
||||
msgstr "-E-> unbekannte Format(%d) - sql(%d)"
|
||||
|
||||
#: ../pgmctrl.cpp:165
|
||||
msgid "-E-> wxConfigBase.p_ProgramCfg->DeleteAll() was not succesfull !"
|
||||
msgid "-E-> wxConfigBase.p_ProgramCfg->DeleteAll() was not successful !"
|
||||
msgstr "-E-> wxConfigBase.p_ProgramCfg->DeleteAll() war nicht Erfolgreich !"
|
||||
|
||||
#: ../pgmctrl.cpp:149
|
||||
@@ -365,7 +365,7 @@ msgid "-I-> PgmCtrl::OnSelChanged - %s"
|
||||
msgstr "-I-> PgmCtrl::OnSelChanged - %s"
|
||||
|
||||
#: ../pgmctrl.cpp:163
|
||||
msgid "-I-> wxConfigBase.p_ProgramCfg->DeleteAll() was succesfull."
|
||||
msgid "-I-> wxConfigBase.p_ProgramCfg->DeleteAll() was successful."
|
||||
msgstr "-I-> wxConfigBase.p_ProgramCfg->DeleteAll() war Erfolgreich !"
|
||||
|
||||
#: ../dbbrowse.cpp:115 ../dbbrowse.cpp:175
|
||||
|
||||
@@ -166,9 +166,9 @@ void PgmCtrl::OnSelChanged(wxMouseEvent& WXUNUSED(event))
|
||||
if (Temp1 == _T("wxConfigBase Delete"))
|
||||
{
|
||||
if (p_ProgramCfg->DeleteAll()) // Default Diretory for wxFileSelector
|
||||
Temp0 = _("-I-> wxConfigBase.p_ProgramCfg->DeleteAll() was succesfull.");
|
||||
Temp0 = _("-I-> wxConfigBase.p_ProgramCfg->DeleteAll() was successful.");
|
||||
else
|
||||
Temp0 = _("-E-> wxConfigBase.p_ProgramCfg->DeleteAll() was not succesfull !");
|
||||
Temp0 = _("-E-> wxConfigBase.p_ProgramCfg->DeleteAll() was not successful !");
|
||||
wxBell(); // Ding_a_Ling
|
||||
Treffer++;
|
||||
}
|
||||
|
||||
@@ -63,7 +63,6 @@ contrib/include/wx/animate/*.h
|
||||
|
||||
contrib/samples/animate/*.cpp
|
||||
contrib/samples/animate/*.h
|
||||
contrib/samples/animate/*.def
|
||||
contrib/samples/animate/makefile*
|
||||
contrib/samples/animate/*.xbm
|
||||
contrib/samples/animate/*.xpm
|
||||
@@ -86,7 +85,6 @@ contrib/include/wx/applet/*.rc
|
||||
|
||||
contrib/samples/applet/*.cpp
|
||||
contrib/samples/applet/*.h
|
||||
contrib/samples/applet/*.def
|
||||
contrib/samples/applet/makefile*
|
||||
contrib/samples/applet/*.xbm
|
||||
contrib/samples/applet/*.xpm
|
||||
@@ -106,7 +104,6 @@ contrib/include/wx/deprecated/*.h
|
||||
|
||||
contrib/samples/deprecated/proplist/*.cpp
|
||||
contrib/samples/deprecated/proplist/*.h
|
||||
contrib/samples/deprecated/proplist/*.def
|
||||
contrib/samples/deprecated/proplist/makefile*
|
||||
contrib/samples/deprecated/proplist/*.xbm
|
||||
contrib/samples/deprecated/proplist/*.xpm
|
||||
@@ -121,7 +118,6 @@ contrib/samples/deprecated/proplist/*.bkl
|
||||
|
||||
contrib/samples/deprecated/resource/*.cpp
|
||||
contrib/samples/deprecated/resource/*.h
|
||||
contrib/samples/deprecated/resource/*.def
|
||||
contrib/samples/deprecated/resource/makefile*
|
||||
contrib/samples/deprecated/resource/*.xbm
|
||||
contrib/samples/deprecated/resource/*.xpm
|
||||
@@ -136,7 +132,6 @@ contrib/samples/deprecated/resource/*.bkl
|
||||
|
||||
contrib/samples/deprecated/treelay/*.cpp
|
||||
contrib/samples/deprecated/treelay/*.h
|
||||
contrib/samples/deprecated/treelay/*.def
|
||||
contrib/samples/deprecated/treelay/makefile*
|
||||
contrib/samples/deprecated/treelay/*.xbm
|
||||
contrib/samples/deprecated/treelay/*.xpm
|
||||
@@ -159,7 +154,6 @@ contrib/samples/fl/bitmaps/*.bmp
|
||||
contrib/samples/fl/bitmaps/*.xpm
|
||||
contrib/samples/fl/*.cpp
|
||||
contrib/samples/fl/*.h
|
||||
contrib/samples/fl/*.def
|
||||
contrib/samples/fl/*.xbm
|
||||
contrib/samples/fl/*.xpm
|
||||
contrib/samples/fl/*.txt
|
||||
@@ -178,7 +172,6 @@ contrib/include/wx/gizmos/*.h
|
||||
|
||||
contrib/samples/gizmos/dynsash/*.cpp
|
||||
contrib/samples/gizmos/dynsash/*.h
|
||||
contrib/samples/gizmos/dynsash/*.def
|
||||
contrib/samples/gizmos/dynsash/makefile*
|
||||
contrib/samples/gizmos/dynsash/*.xbm
|
||||
contrib/samples/gizmos/dynsash/*.xpm
|
||||
@@ -192,7 +185,6 @@ contrib/samples/gizmos/dynsash/*.bkl
|
||||
|
||||
contrib/samples/gizmos/dynsash_switch/*.cpp
|
||||
contrib/samples/gizmos/dynsash_switch/*.h
|
||||
contrib/samples/gizmos/dynsash_switch/*.def
|
||||
contrib/samples/gizmos/dynsash_switch/makefile*
|
||||
contrib/samples/gizmos/dynsash_switch/*.xbm
|
||||
contrib/samples/gizmos/dynsash_switch/*.xpm
|
||||
@@ -206,7 +198,6 @@ contrib/samples/gizmos/dynsash_switch/*.bkl
|
||||
|
||||
contrib/samples/gizmos/editlbox/*.cpp
|
||||
contrib/samples/gizmos/editlbox/*.h
|
||||
contrib/samples/gizmos/editlbox/*.def
|
||||
contrib/samples/gizmos/editlbox/makefile*
|
||||
contrib/samples/gizmos/editlbox/*.xbm
|
||||
contrib/samples/gizmos/editlbox/*.xpm
|
||||
@@ -220,7 +211,6 @@ contrib/samples/gizmos/editlbox/*.bkl
|
||||
|
||||
contrib/samples/gizmos/led/*.cpp
|
||||
contrib/samples/gizmos/led/*.h
|
||||
contrib/samples/gizmos/led/*.def
|
||||
contrib/samples/gizmos/led/makefile*
|
||||
contrib/samples/gizmos/led/*.xbm
|
||||
contrib/samples/gizmos/led/*.xpm
|
||||
@@ -234,7 +224,6 @@ contrib/samples/gizmos/led/*.bkl
|
||||
|
||||
contrib/samples/gizmos/multicell/*.cpp
|
||||
contrib/samples/gizmos/multicell/*.h
|
||||
contrib/samples/gizmos/multicell/*.def
|
||||
contrib/samples/gizmos/multicell/makefile*
|
||||
contrib/samples/gizmos/multicell/*.xbm
|
||||
contrib/samples/gizmos/multicell/*.xpm
|
||||
@@ -248,7 +237,6 @@ contrib/samples/gizmos/multicell/*.bkl
|
||||
|
||||
contrib/samples/gizmos/splittree/*.cpp
|
||||
contrib/samples/gizmos/splittree/*.h
|
||||
contrib/samples/gizmos/splittree/*.def
|
||||
contrib/samples/gizmos/splittree/makefile*
|
||||
contrib/samples/gizmos/splittree/*.xbm
|
||||
contrib/samples/gizmos/splittree/*.xpm
|
||||
@@ -269,7 +257,6 @@ contrib/include/wx/plot/*.rc
|
||||
|
||||
contrib/samples/plot/*.cpp
|
||||
contrib/samples/plot/*.h
|
||||
contrib/samples/plot/*.def
|
||||
contrib/samples/plot/makefile*
|
||||
contrib/samples/plot/*.xbm
|
||||
contrib/samples/plot/*.xpm
|
||||
|
||||
+1
-85
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,5 @@
|
||||
utils/HelpGen/src/*.h
|
||||
utils/HelpGen/src/*.cpp
|
||||
utils/HelpGen/src/*.def
|
||||
utils/HelpGen/src/*.rc
|
||||
utils/HelpGen/src/makefile*
|
||||
utils/HelpGen/src/*.bkl
|
||||
@@ -26,7 +25,6 @@ utils/emulator/src/*.sty
|
||||
utils/emulator/src/*.ini
|
||||
utils/emulator/src/*.bmp
|
||||
utils/emulator/src/*.ico
|
||||
utils/emulator/src/*.def
|
||||
utils/emulator/src/*.rc
|
||||
utils/emulator/src/*.wxe
|
||||
utils/emulator/src/*.jpg
|
||||
@@ -36,7 +34,6 @@ utils/emulator/docs/*.jpg
|
||||
|
||||
utils/helpview/src/*.h
|
||||
utils/helpview/src/*.cpp
|
||||
utils/helpview/src/*.def
|
||||
utils/helpview/src/*.rc
|
||||
utils/helpview/src/makefile*
|
||||
utils/helpview/src/*.xbm
|
||||
@@ -51,7 +48,6 @@ utils/helpview/src/bitmaps/*.xpm
|
||||
|
||||
utils/configtool/src/*.h
|
||||
utils/configtool/src/*.cpp
|
||||
utils/configtool/src/*.def
|
||||
utils/configtool/src/*.rc
|
||||
utils/configtool/src/makefile*
|
||||
utils/configtool/src/*.xbm
|
||||
|
||||
@@ -164,7 +164,7 @@ provokes warnings from some compilers and to avoid them you should use the
|
||||
pointers to {\tt double} you should use.
|
||||
|
||||
Note that the above macros are generally only useful for
|
||||
wxObject types. There are seperate macros for declaring an array of a simple type,
|
||||
wxObject types. There are separate macros for declaring an array of a simple type,
|
||||
such as an int.
|
||||
|
||||
The following simple types are supported:\\
|
||||
|
||||
@@ -97,7 +97,7 @@ Likewise, Sun, Mon, Tue, Wed, Thu, Fri, Sat, and Inv\_WeekDay are the values in
|
||||
Finally, Inv\_Year is defined to be an invalid value for year parameter.
|
||||
|
||||
\helpref{GetMonthName()}{wxdatetimegetmonthname} and
|
||||
\helpref{GetWeekDayName}{wxdatetimegetweekdayname} functions use the followign
|
||||
\helpref{GetWeekDayName}{wxdatetimegetweekdayname} functions use the following
|
||||
flags:
|
||||
|
||||
\begin{verbatim}
|
||||
|
||||
@@ -166,7 +166,7 @@ creates the file with the given \arg{name} and writes \arg{text} to it, then
|
||||
adds the file to the report. The \arg{filename} shouldn't contain the path.
|
||||
|
||||
Returns \true if file could be added successfully, \false if an IO error
|
||||
occured.
|
||||
occurred.
|
||||
|
||||
|
||||
\membersection{wxDebugReport::DoAddCustomContext}\label{wxdebugreportdoaddcustomcontext}
|
||||
|
||||
@@ -41,7 +41,7 @@ running the \helpref{text}{sampletext} wxWidgets sample and pressing some keys
|
||||
in any of the text controls shown in it.
|
||||
|
||||
{\bf Note:} If a key down ({\tt EVT\_KEY\_DOWN}) event is caught and
|
||||
the event handler does not call {\tt event.Skip()} then the coresponding
|
||||
the event handler does not call {\tt event.Skip()} then the corresponding
|
||||
char event ({\tt EVT\_CHAR}) will not happen. This is by design and
|
||||
enables the programs that handle both types of events to be a bit
|
||||
simpler.
|
||||
|
||||
@@ -145,7 +145,7 @@ Get the userData item attribute.
|
||||
|
||||
\constfunc{wxWindow*}{GetWindow}{\void}
|
||||
|
||||
If this item is trackign a window then return it. NULL otherwise.
|
||||
If this item is tracking a window then return it. NULL otherwise.
|
||||
|
||||
\membersection{wxSizerItem::IsShown}\label{wxsizeritemisshown}
|
||||
|
||||
|
||||
@@ -560,8 +560,8 @@ The {\bf wxSOCKET\_REUSEADDR} flag controls the use of the SO\_REUSEADDR standar
|
||||
setsockopt() flag. This flag allows the socket to bind to a port that is already in use.
|
||||
This is mostly used on UNIX-based systems to allow rapid starting and stopping of a server -
|
||||
otherwise you may have to wait several minutes for the port to become available.
|
||||
This option can have suprising platform dependent behavior, check the documentation for
|
||||
your platforms implementation of setsockopt().
|
||||
This option can have surprising platform dependent behavior, check the documentation for
|
||||
your platform's implementation of setsockopt().
|
||||
|
||||
So:
|
||||
|
||||
|
||||
@@ -98,7 +98,7 @@ Copies this URI from another URI.
|
||||
|
||||
\constfunc{wxString}{BuildURI}{\void}
|
||||
|
||||
Builds the URI from its individual components and adds proper seperators.
|
||||
Builds the URI from its individual components and adds proper separators.
|
||||
|
||||
If the URI is not a reference or is not resolved,
|
||||
the URI that is returned from Get is the same one
|
||||
@@ -109,7 +109,7 @@ passed to Create.
|
||||
|
||||
\constfunc{wxString}{BuildUnescapedURI}{\void}
|
||||
|
||||
Builds the URI from its individual components, adds proper seperators, and
|
||||
Builds the URI from its individual components, adds proper separators, and
|
||||
returns escape sequences to normal characters.
|
||||
|
||||
Note that it is preferred to call this over Unescape(BuildURI()) since
|
||||
|
||||
@@ -1257,7 +1257,7 @@ buffer (which must be writable, of course) you might call it like this:
|
||||
\end{verbatim}
|
||||
|
||||
Note that the exact usage of this depends on whether on not wxUSE\_STL is enabled. If
|
||||
wxUSE\_STL is enabled, wxStringBuffer creates a seperate empty character buffer, and
|
||||
wxUSE\_STL is enabled, wxStringBuffer creates a separate empty character buffer, and
|
||||
if wxUSE\_STL is disabled, it uses GetWriteBuf() from wxString, keeping the same buffer
|
||||
wxString uses intact. In other words, relying on wxStringBuffer containing the old
|
||||
wxString data is probably not a good idea if you want to build your program in both
|
||||
@@ -1322,7 +1322,7 @@ of the string, you might call it like this:
|
||||
\end{verbatim}
|
||||
|
||||
Note that the exact usage of this depends on whether on not wxUSE\_STL is enabled. If
|
||||
wxUSE\_STL is enabled, wxStringBuffer creates a seperate empty character buffer, and
|
||||
wxUSE\_STL is enabled, wxStringBuffer creates a separate empty character buffer, and
|
||||
if wxUSE\_STL is disabled, it uses GetWriteBuf() from wxString, keeping the same buffer
|
||||
wxString uses intact. In other words, relying on wxStringBuffer containing the old
|
||||
wxString data is probably not a good idea if you want to build your program in both
|
||||
|
||||
@@ -111,7 +111,7 @@ is allowed to register new object handlers within XRC and extend it to accept
|
||||
new <object> classes (and therefore different <object>'s child nodes).
|
||||
|
||||
<object_ref> node is identical to <object>, except that it does _not_ have
|
||||
"class" property and has additional required property "ref". It's concept is
|
||||
"class" property and has additional required property "ref". Its concept is
|
||||
similar to Unix symlinks: value of the "ref" property is equal to the value of
|
||||
"name" property of some existing node (called referred node) in the resources
|
||||
(not necessary top-level). Referred node's "class" property and all subnodes
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
// VC++ IDE predefines _DEBUG and _UNICODE for the new projects itself, but
|
||||
// the other symbols (WXUSINGDLL, __WXUNIVERSAL__, ...) should be defined
|
||||
// explicitely!
|
||||
// explicitly!
|
||||
|
||||
#ifdef _MSC_VER
|
||||
#ifdef _UNICODE
|
||||
|
||||
+1
-1
@@ -263,7 +263,7 @@ public:
|
||||
// version does the normal processing (i.e. shows the usual assert failure
|
||||
// dialog box)
|
||||
//
|
||||
// the arguments are the place where the assert occured, the text of the
|
||||
// the arguments are the place where the assert occurred, the text of the
|
||||
// assert itself and the user-specified message
|
||||
#ifdef __WXDEBUG__
|
||||
virtual void OnAssert(const wxChar *file,
|
||||
|
||||
@@ -174,7 +174,7 @@ public:
|
||||
|
||||
// parse the command line, return 0 if ok, -1 if "-h" or "--help" option
|
||||
// was encountered and the help message was given or a positive value if a
|
||||
// syntax error occured
|
||||
// syntax error occurred
|
||||
//
|
||||
// if showUsage is true, Usage() is called in case of syntax error or if
|
||||
// help was requested
|
||||
|
||||
@@ -1150,7 +1150,7 @@ public:
|
||||
return wxTimeSpan(*this).Multiply(n);
|
||||
}
|
||||
|
||||
// return this timespan with inversed sign
|
||||
// return this timespan with opposite sign
|
||||
wxTimeSpan Negate() const { return wxTimeSpan(-GetValue()); }
|
||||
// negate the value of the timespan
|
||||
wxTimeSpan& Neg() { m_diff = -GetValue(); return *this; }
|
||||
|
||||
+1
-1
@@ -789,7 +789,7 @@ wxDbGetDataSource(HENV henv, wxChar *Dsn, SWORD DsnMaxLength, wxChar *DsDesc,
|
||||
// Change this to 0 to remove use of all deprecated functions
|
||||
#if wxODBC_BACKWARD_COMPATABILITY
|
||||
//#################################################################################
|
||||
//############### DEPRECATED functions for backward compatability #################
|
||||
//############### DEPRECATED functions for backward compatibility #################
|
||||
//#################################################################################
|
||||
|
||||
// Backward compability structures/classes. This will eventually go away
|
||||
|
||||
@@ -360,7 +360,7 @@ public:
|
||||
// Change this to 0 to remove use of all deprecated functions
|
||||
#if wxODBC_BACKWARD_COMPATABILITY
|
||||
//#################################################################################
|
||||
//############### DEPRECATED functions for backward compatability #################
|
||||
//############### DEPRECATED functions for backward compatibility #################
|
||||
//#################################################################################
|
||||
|
||||
// Backward compability. These will eventually go away
|
||||
|
||||
+1
-1
@@ -1899,7 +1899,7 @@ enum
|
||||
wxTOOL_RIGHT
|
||||
};
|
||||
|
||||
/* the values of the format constants should be the same as correspondign */
|
||||
/* the values of the format constants should be the same as corresponding */
|
||||
/* CF_XXX constants in Windows API */
|
||||
enum wxDataFormatId
|
||||
{
|
||||
|
||||
+1
-1
@@ -249,7 +249,7 @@ public:
|
||||
|
||||
// return all modules/shared libraries in the address space of this process
|
||||
//
|
||||
// returns an empty array if not implemented or an error occured
|
||||
// returns an empty array if not implemented or an error occurred
|
||||
static wxDynamicLibraryDetailsArray ListLoaded();
|
||||
|
||||
// return platform-specific name of dynamic library with proper extension
|
||||
|
||||
+1
-1
@@ -2410,7 +2410,7 @@ protected:
|
||||
// NB: This method is intentionally *not* inside wxUSE_VALIDATORS!
|
||||
// It is part of wxBase which doesn't use validators and the code
|
||||
// is compiled out when building wxBase w/o GUI classes, which affects
|
||||
// binary compatiblity and wxBase library can't be used by GUI
|
||||
// binary compatibility and wxBase library can't be used by GUI
|
||||
// ports.
|
||||
virtual bool TryValidator(wxEvent& WXUNUSED(event)) { return false; }
|
||||
|
||||
|
||||
+2
-2
@@ -62,7 +62,7 @@ public:
|
||||
// read all data from the file into a string (useful for text files)
|
||||
bool ReadAll(wxString *str, wxMBConv& conv = wxConvUTF8);
|
||||
// returns number of bytes read - use Eof() and Error() to see if an error
|
||||
// occured or not
|
||||
// occurred or not
|
||||
size_t Read(void *pBuf, size_t nCount);
|
||||
// returns the number of bytes written
|
||||
size_t Write(const void *pBuf, size_t nCount);
|
||||
@@ -92,7 +92,7 @@ public:
|
||||
bool IsOpened() const { return m_fp != NULL; }
|
||||
// is end of file reached?
|
||||
bool Eof() const { return feof(m_fp) != 0; }
|
||||
// is an error occured?
|
||||
// has an error occurred?
|
||||
bool Error() const { return ferror(m_fp) != 0; }
|
||||
// get the file name
|
||||
const wxString& GetName() const { return m_name; }
|
||||
|
||||
+1
-1
@@ -125,7 +125,7 @@ public:
|
||||
bool IsOpened() const { return m_fd != fd_invalid; }
|
||||
// is end of file reached?
|
||||
bool Eof() const;
|
||||
// has an error occured?
|
||||
// has an error occurred?
|
||||
bool Error() const { return m_error; }
|
||||
// type such as disk or pipe
|
||||
wxFileKind GetKind() const { return wxGetFileKind(m_fd); }
|
||||
|
||||
+1
-1
@@ -226,7 +226,7 @@ private:
|
||||
// the currently default encoding: by default, it's the default system
|
||||
// encoding, but may be changed by the application using
|
||||
// SetDefaultEncoding() to make all subsequent fonts created without
|
||||
// specifing encoding parameter using this encoding
|
||||
// specifying encoding parameter using this encoding
|
||||
static wxFontEncoding ms_encodingDefault;
|
||||
};
|
||||
|
||||
|
||||
@@ -153,8 +153,8 @@ private:
|
||||
};
|
||||
|
||||
|
||||
// State information of a search action. I'd have prefered to make this a nested
|
||||
// class inside wxHtmlHelpData, but that's against coding standards :-(
|
||||
// State information of a search action. I'd have preferred to make this a
|
||||
// nested class inside wxHtmlHelpData, but that's against coding standards :-(
|
||||
// Never construct this class yourself, obtain a copy from
|
||||
// wxHtmlHelpData::PrepareKeywordSearch(const wxString& key)
|
||||
class WXDLLIMPEXP_HTML wxHtmlSearchStatus
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user