New ErrorDialogs from Chris Fama

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-11-13 03:09:28 +00:00
parent 5b119149c0
commit 5e217089d4
6 changed files with 831 additions and 389 deletions

View File

@@ -1,6 +1,32 @@
#----------------------------------------------------------------------
# This file was generated by C:\Python21\wxPython\tools\img2py.py
# [NBNBNB with an addendum at the end]
# [NBNBNB with an addendum at the end, and...]
#----------------------------------------------------------------------------
# Name: PythonBitmaps.py
# Version: 1.0
# Created: October 2001
# Author: Chris Fama of Wholly Snakes Software,
# Chris.Fama@whollysnakes.com
#----------------------------------------------------------------------------
"""
This file was [mainly] generated by img2py. The functions of interest are:
getPythonPoweredBitmap
getPythonPoweredImage
getwxPythonBitmap
getwxPythonImage
--The meaning of these is obvious. They take no arguments.
PythonBitmaps
--This takes a single argument. If it tests true,
getPythonPoweredBitmap() is returned, else getwxPythonBitmap() is
returned.
Sorry no demo; see the demo for ErrorDialogs.py.
"""
from wxPython.wx import wxBitmapFromXPMData, wxImageFromBitmap
import cPickle, zlib
@@ -824,8 +850,8 @@ def getPythonPoweredImage():
# the ..._wdr.py file...
def PythonBitmaps( index ):
if index == 0:
if index:
return getPythonPoweredBitmap()
if index == 1:
else:
return getwxPythonBitmap()
return wxNullBitmap