CVS Commit by andreas: fix dialogs without statusbar
require($_SERVER['DOCUMENT_ROOT']."/includes/top_config.php");
?>
CVS Commit by andreas: fix dialogs without statusbar
Log Message:
-----------
fix dialogs without statusbar
Modified Files:
--------------
pgadmin3/src/ui:
dlgProperty.cpp (r1.81 -> r1.82)
Index: dlgProperty.cpp
===================================================================
RCS file: /projects/pgadmin3/src/ui/dlgProperty.cpp,v
retrieving revision 1.81
retrieving revision 1.82
diff -Lsrc/ui/dlgProperty.cpp -Lsrc/ui/dlgProperty.cpp -u -w -r1.81 -r1.82
--- src/ui/dlgProperty.cpp
+++ src/ui/dlgProperty.cpp
@@ -116,7 +116,7 @@
wxSize size=GetSize();
- if (XRCID("unkStatusBar"))
+ if (wxWindowBase::FindWindow(XRCID("unkStatusBar")))
{
statusBox = 0;
statusBar = new wxStatusBar(this, -1, wxST_SIZEGRIP);
@@ -125,7 +125,7 @@
else
{
statusBar = 0;
- if (XRCID("txtStatus"))
+ if (wxWindowBase::FindWindow(XRCID("txtStatus")))
statusBox=CTRL_TEXT("txtStatus");
else
{
Home |
Main Index |
Thread Index