Changeset 2417 in Sophya
- Timestamp:
- Jul 21, 2003, 11:04:59 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PI/piwdgx.cc
r1317 r2417 18 18 #include "pievthandler.h" 19 19 #include "pigraphx.h" 20 21 #ifdef SANS_EVOLPLANCK 22 #include "perrors.h" 23 #else 24 #include "pexceptions.h" 25 #endif 20 26 21 27 … … 659 665 applicationShellWidgetClass, NULL, 0); 660 666 if (top == NULL) { 661 fprintf(stderr, "PIWdgX::InitXt()/ Error XtVaAppInitialize() -> Exit \n"); 662 exit(9); 667 fprintf(stderr, "PIWdgX::InitXt()/ Error XtVaAppInitialize()\n"); 668 #ifdef SANS_EVOLPLANCK 669 throw notFoundErr; 670 #else 671 throw NotFoundExc("PIWdgX::InitXt()/ Error XtVaAppInitialize()"); 672 #endif 663 673 } 664 674 dpy = XtDisplay(top); 665 675 if (dpy == NULL) { 666 fprintf(stderr, "PIWdgX::InitXt()/ Error XtVaAppInitialize()/DisplayConnection -> Exit \n"); 667 exit(9); 676 fprintf(stderr, "PIWdgX::InitXt()/ Error XtVaAppInitialize()/DisplayConnection\n"); 677 #ifdef SANS_EVOLPLANCK 678 throw notFoundErr; 679 #else 680 throw NotFoundExc("PIWdgX::InitXt()/ Error XtVaAppInitialize()/DisplayConnection"); 681 #endif 668 682 } 669 683
Note:
See TracChangeset
for help on using the changeset viewer.