]> git.saurik.com Git - wxWidgets.git/commitdiff
TRUE not true; FALSE not false
authorDavid Webster <Dave.Webster@bhmi.com>
Sat, 14 Sep 2002 02:09:52 +0000 (02:09 +0000)
committerDavid Webster <Dave.Webster@bhmi.com>
Sat, 14 Sep 2002 02:09:52 +0000 (02:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/generic/grid.h
src/common/ipcbase.cpp
src/common/sckipc.cpp

index 7468fca53ab39e90951860fed8ca08fa8017f1b3..3add2b3c6abd5adfd1316ea81b9587c6ba3aa111 100644 (file)
@@ -1118,8 +1118,8 @@ public:
 
     int      GetBatchCount() { return m_batchCount; }
 
-    virtual void Refresh(bool eraseb = true,
-                         const wxRect* rect = (const wxRect *)  NULL); 
+    virtual void Refresh(bool eraseb = TRUE,
+                         const wxRect* rect = (const wxRect *)  NULL);
 
     // Use this, rather than wxWindow::Refresh(), to force an
     // immediate repainting of the grid. Has no effect if you are
index 44ec4f166a716234f247809ce761b4c1f22e9ae4..52a762c25235e58acd99898e44cbba5ce34fba48 100644 (file)
@@ -31,23 +31,23 @@ IMPLEMENT_CLASS(wxClientBase, wxObject)
 IMPLEMENT_CLASS(wxConnectionBase, wxObject)
 
 wxConnectionBase::wxConnectionBase(wxChar *buffer, int size)
-    : m_connected(true),
-      m_buffer(buffer), 
+    : m_connected(TRUE),
+      m_buffer(buffer),
       m_buffersize(size),
-      m_deletebufferwhendone(false)
+      m_deletebufferwhendone(FALSE)
 {
   if ( buffer == (wxChar *)NULL )
   { // behave like next constructor
     m_buffersize = 0;
-    m_deletebufferwhendone = true;
+    m_deletebufferwhendone = TRUE;
   }
 }
 
 wxConnectionBase::wxConnectionBase()
-    : m_connected(true),
+    : m_connected(TRUE),
       m_buffer(NULL),
       m_buffersize(0),
-      m_deletebufferwhendone(true)
+      m_deletebufferwhendone(TRUE)
 {
 }
 
@@ -55,7 +55,7 @@ wxConnectionBase::wxConnectionBase(wxConnectionBase& copy)
     : m_connected(copy.m_connected),
       m_buffer(copy.m_buffer),
       m_buffersize(copy.m_buffersize),
-      m_deletebufferwhendone(false)
+      m_deletebufferwhendone(FALSE)
 
 {
   // copy constructor would require ref-counted pointer to buffer
index 49e69e22b3ca537734622ff9c05b703885b0b4dd..4151df71729c844ca631a4eefc974b93905308f6 100644 (file)
@@ -383,7 +383,7 @@ bool wxTCPConnection::Disconnect ()
   m_codeco->Write8(IPC_DISCONNECT);
   m_sock->Notify(FALSE);
   m_sock->Close();
-  SetConnected(false);
+  SetConnected(FALSE);
 
   return TRUE;
 }
@@ -660,7 +660,7 @@ void wxTCPEventHandler::Client_OnRequest(wxSocketEvent &event)
   {
     sock->Notify(FALSE);
     sock->Close();
-    connection->SetConnected(false);
+    connection->SetConnected(FALSE);
     connection->OnDisconnect();
     break;
   }