Update of /cvsroot/mahogany/M/include/gui
In directory usw-pr-cvs1:/tmp/cvs-serv3799/include/gui
Modified Files:
wxDialogLayout.h
Log Message:
added a possibility to not create the "Cancel" button in the
wxManuallyLaidOutDialog because the MIME structure dialog really doesn't need
it
Index: wxDialogLayout.h
===================================================================
RCS file: /cvsroot/mahogany/M/include/gui/wxDialogLayout.h,v
retrieving revision 1.58
retrieving revision 1.59
diff -b -u -2 -r1.58 -r1.59
--- wxDialogLayout.h 12 Mar 2002 21:04:10 -0000 1.58
+++ wxDialogLayout.h 4 Jul 2002 15:13:11 -0000 1.59
@@ -98,7 +98,11 @@
protected:
- // set the diaqlog size if it wasn't restored from profile
- virtual void SetDefaultSize(int width, int height,
- bool setAsMinimalSizeToo = TRUE);
+ // the constants for CreateStdButtonsAndBox() second argument
+ enum
+ {
+ StdBtn_Default = 0,
+ StdBtn_NoBox = 1,
+ StdBtn_NoCancel = 2
+ };
// create Ok and Cancel buttons and a static box around all other ctrls
@@ -106,9 +110,13 @@
// created). If helpId != -1, add a Help button.
virtual wxStaticBox *CreateStdButtonsAndBox(const wxString& boxTitle,
- bool noBox = FALSE,
+ int flags = StdBtn_Default,
int helpId = -1);
// create just the buttons
void CreateStdButtons() { (void)CreateStdButtonsAndBox("", TRUE); }
+
+ // set the diaqlog size if it wasn't restored from profile
+ virtual void SetDefaultSize(int width, int height,
+ bool setAsMinimalSizeToo = TRUE);
// these variables are set in the ctor and are the basic measurement unites
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Caffeinated soap. No kidding.
http://thinkgeek.com/sf
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates